AttributedDomainElementHasAttributes.Attribute 속성

DomainRole 속성

네임스페이스:  Microsoft.VisualStudio.Modeling.DslDefinition
어셈블리:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0(Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

구문

‘선언
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("2c2389f4-1330-4f0f-b303-10a63d5ba696")> _
<DomainRoleAttribute(DomainRoleOrder.Target, PropertyName := "Element", PropertyDisplayNameKey := "Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.PropertyDisplayName",  _
    PropagatesDelete := True, PropagatesCopy := PropagatesCopyOption.DoNotPropagateCopy,  _
    Multiplicity := Multiplicity.ZeroOne)> _
Public Property Attribute As ClrAttribute
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("2c2389f4-1330-4f0f-b303-10a63d5ba696")]
[DomainRoleAttribute(DomainRoleOrder.Target, PropertyName = "Element", PropertyDisplayNameKey = "Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElementHasAttributes/Attribute.PropertyDisplayName", 
    PropagatesDelete = true, PropagatesCopy = PropagatesCopyOption.DoNotPropagateCopy, 
    Multiplicity = Multiplicity.ZeroOne)]
public ClrAttribute Attribute { get; set; }

속성 값

형식: Microsoft.VisualStudio.Modeling.DslDefinition.ClrAttribute

.NET Framework 보안

  • 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용을 참조하십시오.

참고 항목

참조

AttributedDomainElementHasAttributes 클래스

Microsoft.VisualStudio.Modeling.DslDefinition 네임스페이스