Decorator.DisplayName Property
Gets or sets the value of DisplayName domain property. The name that will be displayed in the generated designer for this decorator.
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
<DomainObjectIdAttribute("1729b4eb-7b22-4fed-96f4-9438cd29f481")> _
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.Category", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
Public Property DisplayName As String
Get
Set
[DomainObjectIdAttribute("1729b4eb-7b22-4fed-96f4-9438cd29f481")]
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.Category",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public string DisplayName { get; set; }
[DomainObjectIdAttribute(L"1729b4eb-7b22-4fed-96f4-9438cd29f481")]
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.Category",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind::CustomStorage)]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.Description",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.DisplayName",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
public:
property String^ DisplayName {
String^ get ();
void set (String^ value);
}
[<DomainObjectIdAttribute("1729b4eb-7b22-4fed-96f4-9438cd29f481")>]
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.Category",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Decorator/DisplayName.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
member DisplayName : string with get, set
function get DisplayName () : String
function set DisplayName (value : String)
Property Value
Type: System.String
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.