StringResourceKey Type

Designates a resource key that will be used to retrieve a resource string. This struct is immutable. Store instances of this struct in static fields. This will help external programs to prove that for all resource keys there exists corresponding entries.

Constructors

Constructor Description

StringResourceKey(key, exampleValue, description)

Full Usage: StringResourceKey(key, exampleValue, description)

Parameters:
    key : string - The resource key.
    exampleValue : string - An example of the resource string (always in the english language).
    description : string - The description of the resource string to help translating it into other languages.

Initializes a new instance of the StringResourceKey struct.

key : string

The resource key.

exampleValue : string

An example of the resource string (always in the english language).

description : string

The description of the resource string to help translating it into other languages.

Instance members

Instance member Description

this.Description

Full Usage: this.Description

Returns: string

Gets the description of the resource string to help translating it into other languages.

Returns: string

this.ExampleStringValue

Full Usage: this.ExampleStringValue

Returns: string

Gets an example of the resource string value (always in english).

Returns: string

this.Key

Full Usage: this.Key

Returns: string

Gets the resource key.

Returns: string

this.ToString

Full Usage: this.ToString

Returns: string
Modifiers: abstract

Returns: string