Condividi tramite


AttributedDomainElement.CustomAttributes Property

Gets or sets the value of CustomAttributes domain property. Used to attribute the code generated from this element.

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.AttributedDomainElement/CustomAttributes.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement/CustomAttributes.Category",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement/CustomAttributes.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.Calculated)> _
<DomainObjectIdAttribute("00d4c9df-75be-4920-a449-29180f65af9d")> _
Public ReadOnly Property CustomAttributes As String
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement/CustomAttributes.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement/CustomAttributes.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement/CustomAttributes.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.Calculated)]
[DomainObjectIdAttribute("00d4c9df-75be-4920-a449-29180f65af9d")]
public string CustomAttributes { get; }
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement/CustomAttributes.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement/CustomAttributes.Category", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement/CustomAttributes.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind::Calculated)]
[DomainObjectIdAttribute(L"00d4c9df-75be-4920-a449-29180f65af9d")]
public:
property String^ CustomAttributes {
    String^ get ();
}
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement/CustomAttributes.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement/CustomAttributes.Category", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.AttributedDomainElement/CustomAttributes.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainPropertyAttribute(Kind = DomainPropertyKind.Calculated)>]
[<DomainObjectIdAttribute("00d4c9df-75be-4920-a449-29180f65af9d")>]
member CustomAttributes : string with get
function get CustomAttributes () : String

Property Value

Type: System.String

.NET Framework Security

See Also

Reference

AttributedDomainElement Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace