Condividi tramite


DomainPropertyHasElementNameProvider.DomainProperty Property

DomainRole DomainProperty External type which provides values for this property, which must have Is Element Name set to true.

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

Syntax

'Declaration
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProvider/DomainProperty.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProvider/DomainProperty.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProvider/DomainProperty.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName := "ElementNameProvider",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProvider/DomainProperty.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer,  _
    Multiplicity := Multiplicity.ZeroOne)> _
<DomainObjectIdAttribute("2abc6bf5-8829-4019-b74a-5b21590332e8")> _
Public Property DomainProperty As DomainProperty
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProvider/DomainProperty.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProvider/DomainProperty.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProvider/DomainProperty.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "ElementNameProvider", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProvider/DomainProperty.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroOne)]
[DomainObjectIdAttribute("2abc6bf5-8829-4019-b74a-5b21590332e8")]
public DomainProperty DomainProperty { get; set; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProvider/DomainProperty.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProvider/DomainProperty.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProvider/DomainProperty.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Source, PropertyName = L"ElementNameProvider", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProvider/DomainProperty.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity::ZeroOne)]
[DomainObjectIdAttribute(L"2abc6bf5-8829-4019-b74a-5b21590332e8")]
public:
property DomainProperty^ DomainProperty {
    DomainProperty^ get ();
    void set (DomainProperty^ value);
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProvider/DomainProperty.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProvider/DomainProperty.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProvider/DomainProperty.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Source, PropertyName = "ElementNameProvider", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.DomainPropertyHasElementNameProvider/DomainProperty.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.PropagatesCopyToLinkAndOppositeRolePlayer, 
    Multiplicity = Multiplicity.ZeroOne)>]
[<DomainObjectIdAttribute("2abc6bf5-8829-4019-b74a-5b21590332e8")>]
member DomainProperty : DomainProperty with get, set
function get DomainProperty () : DomainProperty 
function set DomainProperty (value : DomainProperty)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainProperty

.NET Framework Security

See Also

Reference

DomainPropertyHasElementNameProvider Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace