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.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.DslDefinition.10.0.dll)

Syntax

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

Property Value

Type: System.String

.NET Framework Security

See Also

Reference

Compartment Class

Microsoft.VisualStudio.Modeling.DslDefinition Namespace