Bagikan melalui


Compartment.Name Property

Gets or sets the value of Name domain property. Name of the compartment.

Namespace:  Microsoft.VisualStudio.Modeling.DslDefinition
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.11.0.dll)

Syntax

'Declaration
<DomainObjectIdAttribute("0959d956-3e08-4529-97bf-e773978da0ae")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/Name.DisplayName",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/Name.Description",  _
    GetType(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")> _
<ElementNameAttribute> _
Public Property Name As String
[DomainObjectIdAttribute("0959d956-3e08-4529-97bf-e773978da0ae")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/Name.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/Name.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[ElementNameAttribute]
public string Name { get; set; }
[DomainObjectIdAttribute(L"0959d956-3e08-4529-97bf-e773978da0ae")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/Name.DisplayName", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/Name.Description", 
    typeof(DslDefinitionModelDomainModel), L"Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")]
[ElementNameAttribute]
public:
property String^ Name {
    String^ get ();
    void set (String^ value);
}
[<DomainObjectIdAttribute("0959d956-3e08-4529-97bf-e773978da0ae")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/Name.DisplayName", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.DslDefinition.Compartment/Name.Description", 
    typeof(DslDefinitionModelDomainModel), "Microsoft.VisualStudio.Modeling.DslDefinition.GeneratedCode.DomainModelResx")>]
[<ElementNameAttribute>]
member Name : string with get, set
function get Name () : String 
function set Name (value : String)

Property Value

Type: String

.NET Framework Security

See Also

Reference

Compartment Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace