共用方式為


NodeShape.IsPort Property

true if the shape is a port shape; otherwise, false.

Namespace:  Microsoft.VisualStudio.Modeling.Diagrams
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)

Syntax

'宣告
Public Overridable ReadOnly Property IsPort As Boolean
    Get
public virtual bool IsPort { get; }
public:
virtual property bool IsPort {
    bool get ();
}
abstract IsPort : bool
override IsPort : bool
function get IsPort () : boolean

Property Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

NodeShape Class

Microsoft.VisualStudio.Modeling.Diagrams Namespace