共用方式為


PropertyHasType.Property Property

DomainRole Property Type of the property.

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

Syntax

'宣告
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("29218f5c-bfa4-4180-82b9-33cf0e6429b4")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "Type", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,  _
    Multiplicity := Multiplicity.ZeroOne)> _
Public Property Property As DomainProperty
    Get
    Set
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("29218f5c-bfa4-4180-82b9-33cf0e6429b4")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Type", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroOne)]
public DomainProperty Property { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"29218f5c-bfa4-4180-82b9-33cf0e6429b4")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"Type", PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity::ZeroOne)]
public:
property DomainProperty^ Property {
    DomainProperty^ get ();
    void set (DomainProperty^ value);
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("29218f5c-bfa4-4180-82b9-33cf0e6429b4")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "Type", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.PropertyHasType/Property.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroOne)>]
member Property : DomainProperty with get, set
function get Property () : DomainProperty
function set Property (value : DomainProperty)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty

.NET Framework Security

See Also

Reference

PropertyHasType Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace