共用方式為


PortHasBasePort.BasePort 屬性

DomainRole BasePort

命名空間:  Microsoft.VisualStudio.Modeling.DslDefinition
組件:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0 (在 Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.12.0.dll 中)

語法

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PortHasBasePort/BasePort.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PortHasBasePort/BasePort.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "SubClasses",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.PortHasBasePort/BasePort.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, Multiplicity := Multiplicity.ZeroMany)> _
<DomainObjectIdAttribute("39c47e09-1b41-4eba-baf3-ac4cafdd8397")> _
Public Property BasePort As Port
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PortHasBasePort/BasePort.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PortHasBasePort/BasePort.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "SubClasses", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.PortHasBasePort/BasePort.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.ZeroMany)]
[DomainObjectIdAttribute("39c47e09-1b41-4eba-baf3-ac4cafdd8397")]
public Port BasePort { get; set; }

屬性值

類型:Microsoft.VisualStudio.Modeling.DslDefinition.Port

.NET Framework 安全性

請參閱

參考

PortHasBasePort 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間