Diagram.SupportsPorts 属性

获取关系图并验证其是否包含端口。

命名空间:  Microsoft.VisualStudio.Modeling.Diagrams
程序集:  Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0(在 Microsoft.VisualStudio.Modeling.Sdk.Diagrams.11.0.dll 中)

语法

声明
Public Overridable ReadOnly Property SupportsPorts As Boolean
public virtual bool SupportsPorts { get; }

属性值

类型:System.Boolean
true ,如果关系图中包含端口;否则, false。

备注

默认情况下,返回值是 false。

,如果关系图不包含端口,命中测试不检查端口。

.NET Framework 安全性

请参见

参考

Diagram 类

Microsoft.VisualStudio.Modeling.Diagrams 命名空间