Condividi tramite


Proprietà AttributedDomainElement.CustomAttributes

Ottiene o imposta il valore della proprietà del dominio di CustomAttributes.Utilizzata per associare al codice generato da questo elemento.

Spazio dei nomi:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Sintassi

'Dichiarazione
<DomainPropertyAttribute(Kind := DomainPropertyKind.Calculated)> _
<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")> _
<DomainObjectIdAttribute("00d4c9df-75be-4920-a449-29180f65af9d")> _
Public ReadOnly Property CustomAttributes As String
[DomainPropertyAttribute(Kind = DomainPropertyKind.Calculated)]
[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")]
[DomainObjectIdAttribute("00d4c9df-75be-4920-a449-29180f65af9d")]
public string CustomAttributes { get; }

Valore proprietà

Tipo: System.String

Sicurezza di .NET Framework

Vedere anche

Riferimenti

AttributedDomainElement Classe

Spazio dei nomi Microsoft.VisualStudio.Modeling.DslDefinition