NamedDomainElement.DisplayName Property
Gets or sets the value of DisplayName domain property. The name that will be displayed in the generated designer for this element.
Namespace: Microsoft.VisualStudio.Modeling.DslDefinition
Assembly: Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)
Syntax
'宣言
<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.Category", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.Description", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainObjectIdAttribute("37ccf33c-779b-456a-9add-9a538c0e8406")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.DisplayName", _
GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DomainPropertyAttribute(Kind := DomainPropertyKind.CustomStorage)> _
Public Property DisplayName As String
Get
Set
[CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.Category",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute("37ccf33c-779b-456a-9add-9a538c0e8406")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)]
public string DisplayName { get; set; }
[CategoryResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.Category",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.Description",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainObjectIdAttribute(L"37ccf33c-779b-456a-9add-9a538c0e8406")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.DisplayName",
typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DomainPropertyAttribute(Kind = DomainPropertyKind::CustomStorage)]
public:
property String^ DisplayName {
String^ get ();
void set (String^ value);
}
[<CategoryResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.Category",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.Description",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainObjectIdAttribute("37ccf33c-779b-456a-9add-9a538c0e8406")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.NamedDomainElement/DisplayName.DisplayName",
typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DomainPropertyAttribute(Kind = DomainPropertyKind.CustomStorage)>]
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.