GoDigram for .NET Framework and .NET Core
Northwoods.Go.Xml Namespace / GoXmlBindingTransformer Class / HandlesNamedPorts Property
In This Topic
    HandlesNamedPorts Property
    In This Topic
    Gets or sets whether the identifiers for named ports should be attributes on this element.
    Syntax
    public bool HandlesNamedPorts {get; set;}

    Property Value

    The default is false. This may be set to true for those transformers whose objects contain ports.
    Remarks

    This is commonly set to true for node types that predefine a fixed set of ports, when it is not desired to represent information about each port besides the identifier. Thus it is natural to set this property to true for types such as GoBasicNode, GoIconicNode, GoTextNode, and GoSimpleNode.

    See also the description for AddBinding(String,String,GoXmlBindingFlags).

    Note that this does not produce nested XML elements, unlike HandlesChildren.

    These port identifiers are not at all related to an Northwoods.Go.IGoIdentifiablePart.Northwoods.Go.IGoIdentifiablePart.PartID.

    See Also