CmdletProvider.GetResourceString(String, String) Method

Definition

Gets the resource string corresponding to baseName and resourceId from the current assembly. You should override this if you require a different behavior.

public:
 virtual System::String ^ GetResourceString(System::String ^ baseName, System::String ^ resourceId);
public:
 virtual Platform::String ^ GetResourceString(Platform::String ^ baseName, Platform::String ^ resourceId);
 virtual std::wstring GetResourceString(std::wstring const & baseName, std::wstring const & resourceId);
public virtual string GetResourceString (string baseName, string resourceId);
abstract member GetResourceString : string * string -> string
override this.GetResourceString : string * string -> string
Public Overridable Function GetResourceString (baseName As String, resourceId As String) As String

Parameters

baseName
String

the base resource name

resourceId
String

the resource id

Returns

the resource string corresponding to baseName and resourceId

Implements

Remarks

When overriding this method, the resource string for the specified resource should be retrieved from a localized resource assembly.

Applies to