Diagram.Name Property
Gets or sets the name of the diagram.
Namespace: Microsoft.VisualStudio.Modeling.Diagrams
Assembly: Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.Diagrams.10.0.dll)
Syntax
'宣告
<DomainObjectIdAttribute("f7a14a3c-f112-404c-8a3e-4037210b71ad")> _
<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Diagram/Name.Description", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Diagram/Name.DisplayName", _
GetType(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")> _
<BrowsableAttribute(False)> _
<ElementNameAttribute> _
Public Property Name As String
Get
Set
[DomainObjectIdAttribute("f7a14a3c-f112-404c-8a3e-4037210b71ad")]
[DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Diagram/Name.Description",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Diagram/Name.DisplayName",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[ElementNameAttribute]
public string Name { get; set; }
[DomainObjectIdAttribute(L"f7a14a3c-f112-404c-8a3e-4037210b71ad")]
[DescriptionResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.Diagram/Name.Description",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[DisplayNameResourceAttribute(L"Microsoft.VisualStudio.Modeling.Diagrams.Diagram/Name.DisplayName",
typeof(CoreDesignSurfaceDomainModel), L"Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")]
[BrowsableAttribute(false)]
[ElementNameAttribute]
public:
property String^ Name {
String^ get ();
void set (String^ value);
}
[<DomainObjectIdAttribute("f7a14a3c-f112-404c-8a3e-4037210b71ad")>]
[<DescriptionResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Diagram/Name.Description",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<DisplayNameResourceAttribute("Microsoft.VisualStudio.Modeling.Diagrams.Diagram/Name.DisplayName",
typeof(CoreDesignSurfaceDomainModel), "Microsoft.VisualStudio.Modeling.Diagrams.GeneratedCode.DomainModelResx")>]
[<BrowsableAttribute(false)>]
[<ElementNameAttribute>]
member Name : string with get, set
function get Name () : String
function set Name (value : String)
Property Value
Type: System.String
The name of the diagram.
.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.