DisplayNameResourceAttribute.ResourceName Property
Gets the root name of the resource.
Namespace: Microsoft.VisualStudio.Modeling.Design
Assembly: Microsoft.VisualStudio.Modeling.Sdk (in Microsoft.VisualStudio.Modeling.Sdk.dll)
Syntax
'Declaration
Public ReadOnly Property ResourceName As String
'Usage
Dim instance As DisplayNameResourceAttribute
Dim value As String
value = instance.ResourceName
public string ResourceName { get; }
public:
property String^ ResourceName {
String^ get ();
}
public 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
- 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.
See Also
Reference
DisplayNameResourceAttribute Class
DisplayNameResourceAttribute Members
Microsoft.VisualStudio.Modeling.Design Namespace
Change History
Date |
History |
Reason |
---|---|---|
July 2008 |
Added topic. |
Content bug fix. |