IDesignTimeResourceWriter.CreateResourceKey(String, Object) Method

Definition

Creates a key, using the provided string, to use to retrieve data from the given resource.

public:
 System::String ^ CreateResourceKey(System::String ^ resourceName, System::Object ^ obj);
public string CreateResourceKey (string resourceName, object obj);
abstract member CreateResourceKey : string * obj -> string
Public Function CreateResourceKey (resourceName As String, obj As Object) As String

Parameters

resourceName
String

The name of the resource.

obj
Object

The object to localize.

Returns

The key used to write or retrieve obj from resourceName.

Applies to

See also