Class NSResourceOverride
The resource entity contains resource information.
Constructors
NSResourceOverride()
Initializes a new instance of the NSResourceOverride class.
Declaration
NSResourceOverride Methods
GetCulture()
Declaration
String GetCulture() Examples
NSResourceOverride thing;
String culture = thing.GetCulture();
Returns
| Type | Description |
| String | .NET-style culture code, such as NB-NO or EN-Uk. |
GetIsActive()
Declaration
Bool GetIsActive() Examples
NSResourceOverride thing;
Bool isActive = thing.GetIsActive();
Returns
| Type | Description |
| Bool | Is this override active. |
GetResourceName()
Declaration
String GetResourceName() Examples
NSResourceOverride thing;
String resourceName = thing.GetResourceName();
Returns
| Type | Description |
| String | The name of the resource, without any brackets or braces. For example, SR_CONTACt. |
GetResourceValue()
Declaration
String GetResourceValue() Examples
NSResourceOverride thing;
String resourceValue = thing.GetResourceValue();
Returns
| Type | Description |
| String | The value of the resource in the given culture. |
SetCulture(String)
Declaration
Void SetCulture(String culture) Examples
NSResourceOverride thing;
String culture;
thing.SetCulture(culture);
Parameters
| Type | Name | Description |
| String | culture | .NET-style culture code, such as NB-NO or EN-Uk. |
Returns
| Type | Description |
| Void |
SetIsActive(Bool)
Declaration
Void SetIsActive(Bool isActive) Examples
NSResourceOverride thing;
Bool isActive;
thing.SetIsActive(isActive);
Parameters
| Type | Name | Description |
| Bool | isActive | Is this override active. |
Returns
| Type | Description |
| Void |
SetResourceName(String)
Declaration
Void SetResourceName(String resourceName) Examples
NSResourceOverride thing;
String resourceName;
thing.SetResourceName(resourceName);
Parameters
| Type | Name | Description |
| String | resourceName | The name of the resource, without any brackets or braces. For example, SR_CONTACt. |
Returns
| Type | Description |
| Void |
SetResourceValue(String)
Declaration
Void SetResourceValue(String resourceValue) Examples
NSResourceOverride thing;
String resourceValue;
thing.SetResourceValue(resourceValue);
Parameters
| Type | Name | Description |
| String | resourceValue | The value of the resource in the given culture. |
Returns
| Type | Description |
| Void |