Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AF SDK Reference

AFBaseElement.DefaultOutputPort Property

  • Last UpdatedNov 18, 2025
  • 2 minute read
AFBaseElement.DefaultOutputPort Property
The default output AFPort for the AFBaseElement.

Namespace:  OSIsoft.AF.Asset
Assembly:  OSIsoft.AFSDK (in OSIsoft.AFSDK.dll) Version: 3.1.1.1182

Syntax

public AFPort DefaultOutputPort { get; set; }
Public Property DefaultOutputPort As AFPort
	Get
	Set

Dim instance As AFBaseElement
Dim value As AFPort

value = instance.DefaultOutputPort

instance.DefaultOutputPort = value
public:
property AFPort^ DefaultOutputPort {
	AFPort^ get ();
	void set (AFPort^ value);
}
member DefaultOutputPort : AFPort with get, set

Property Value

Type: AFPort
Returns the default output AFPort for the AFBaseElement. If the default port does not exist or has not been set, then will be returned.

Remarks

If this element was created from an AFElementTemplate, then the value of this property is defined by the template's DefaultUndirectedPort. Use this property when attempting to get the default output port when making connections between AFBaseElement objects.

Version Information

AFSDK


See Also

In This Topic
TitleResults for “How to create a CRG?”Also Available in