LocalizedNameAttribute Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
LocalizedNameAttribute(Type, String) |
Creates an instance of this attribute, which caches the localized name represented by the given type and resource name. |
LocalizedNameAttribute(Type, String, String) |
Creates an instance of this attribute, which caches the localized name represented by the given type and resource name. |
LocalizedNameAttribute(Type, String)
Creates an instance of this attribute, which caches the localized name represented by the given type and resource name.
public:
LocalizedNameAttribute(Type ^ type, System::String ^ resourceId);
public LocalizedNameAttribute (Type type, string resourceId);
new Microsoft.VisualStudio.Utilities.LocalizedNameAttribute : Type * string -> Microsoft.VisualStudio.Utilities.LocalizedNameAttribute
Public Sub New (type As Type, resourceId As String)
Parameters
- type
- Type
The type from which to load the localized resource. This should be a type created by the resource designer.
- resourceId
- String
The name of the localized resource string contained the resource type.
Applies to
LocalizedNameAttribute(Type, String, String)
Creates an instance of this attribute, which caches the localized name represented by the given type and resource name.
public:
LocalizedNameAttribute(Type ^ type, System::String ^ resourceStreamName, System::String ^ resourceId);
public LocalizedNameAttribute (Type type, string resourceStreamName, string resourceId);
new Microsoft.VisualStudio.Utilities.LocalizedNameAttribute : Type * string * string -> Microsoft.VisualStudio.Utilities.LocalizedNameAttribute
Public Sub New (type As Type, resourceStreamName As String, resourceId As String)
Parameters
- type
- Type
The type from which to load the localized resource.
- resourceStreamName
- String
The base name of the resource stream containing the resource.
- resourceId
- String
The name of the localized resource string contained the resource type.