AFElementTemplate.DefaultInputPort Property
- Last UpdatedJan 12, 2026
- 2 minute read
- PI System
- AF SDK 3.2.0
- Developer
The default input AFPort for the AFBaseElement
created from this template.
Namespace: OSIsoft.AF.Asset
Assembly: OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.2.0.7
Syntax
public AFPort DefaultInputPort { get; set; }
Public Property DefaultInputPort As AFPort Get Set Dim instance As AFElementTemplate Dim value As AFPort value = instance.DefaultInputPort instance.DefaultInputPort = value
public: property AFPort^ DefaultInputPort { AFPort^ get (); void set (AFPort^ value); }
member DefaultInputPort : AFPort with get, set
Property Value
Type: AFPortReturns the default input AFPort for the AFBaseElement created from this template. If the default port does not exist or has not been set, then will be returned.
Remarks
Use this property when attempting to get the default input port when
making connections between AFBaseElement objects.