共用方式為


DisplayNameResourceAttribute.ResourceName Property

Gets the root name of the resource.

Namespace:  Microsoft.VisualStudio.Modeling.Design
Assembly:  Microsoft.VisualStudio.Modeling.Sdk.10.0 (in Microsoft.VisualStudio.Modeling.Sdk.10.0.dll)

Syntax

'宣告
Public ReadOnly Property ResourceName As String
    Get
public string ResourceName { get; }
public:
property String^ ResourceName {
    String^ get ();
}
member ResourceName : string
function get ResourceName () : String

Property Value

Type: System.String
The root name of the resource.

Remarks

If this property is nulla null reference (Nothing in Visual Basic) or the empty string (""), then the class searches the resource assembly for a resource that has the same root name as the Name or FullName of the supplied type.

.NET Framework Security

See Also

Reference

DisplayNameResourceAttribute Class

Microsoft.VisualStudio.Modeling.Design Namespace

DisplayNameKey

Type