Partilhar via


PathSegmentReferencesRole.Role Property

DomainRole Role

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

Syntax

'Declaração
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "PathSegments",  _
    PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.PropertyDisplayName",  _
    PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy, Multiplicity := Multiplicity.ZeroMany)> _
<DomainObjectIdAttribute("876bf051-4f88-42ff-b14f-9480e0edc19c")> _
Public Property Role As DomainRole
    Get
    Set
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "PathSegments", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.ZeroMany)]
[DomainObjectIdAttribute("876bf051-4f88-42ff-b14f-9480e0edc19c")]
public DomainRole Role { get; set; }
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainRoleAttribute(DomainRoleOrder::Target, PropertyName = L"PathSegments", 
    PropertyDisplayNameKey = L"Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption::DoNotPropagateCopy, Multiplicity = Multiplicity::ZeroMany)]
[DomainObjectIdAttribute(L"876bf051-4f88-42ff-b14f-9480e0edc19c")]
public:
property DomainRole^ Role {
    DomainRole^ get ();
    void set (DomainRole^ value);
}
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "PathSegments", 
    PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.PathSegmentReferencesRole/Role.PropertyDisplayName", 
    PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, Multiplicity = Multiplicity.ZeroMany)>]
[<DomainObjectIdAttribute("876bf051-4f88-42ff-b14f-9480e0edc19c")>]
member Role : DomainRole with get, set
function get Role () : DomainRole
function set Role (value : DomainRole)

Property Value

Type: Microsoft.VisualStudio.Modeling.DslDefinition.DomainRole

.NET Framework Security

See Also

Reference

PathSegmentReferencesRole Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace