共用方式為


PropertyHasType.Type 屬性

DomainRole 型別屬性,這是個型別。

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

語法

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Type.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Type.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Properties",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Type.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, Multiplicity := Multiplicity.ZeroMany)> _
<DomainObjectIdAttribute("5e71bb12-d6a9-4fc9-93ff-a96804f56245")> _
Public Property Type As DomainType
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Type.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Type.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Properties", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Type.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.ZeroMany)]
[DomainObjectIdAttribute("5e71bb12-d6a9-4fc9-93ff-a96804f56245")]
public DomainType Type { get; set; }

屬性值

型別:Microsoft.VisualStudio.Modeling.DslDefinition.DomainType

.NET Framework 安全性

請參閱

參考

PropertyHasType 類別

Microsoft.VisualStudio.Modeling.DslDefinition 命名空間