Show / Hide Table of Contents

Class NSResourceOverride

The resource entity contains resource information.

Syntax

Constructors

NSResourceOverride()

Initializes a new instance of the NSResourceOverride class.

Declaration
NSResourceOverride

Methods

GetCulture()

The resource entity contains resource information.

Declaration
String GetCulture()
Returns
Type Description
String

.NET-style culture code, such as NB-NO or EN-Uk.

Examples
NSResourceOverride thing;
String culture = thing.GetCulture();

GetIsActive()

The resource entity contains resource information.

Declaration
Bool GetIsActive()
Returns
Type Description
Bool

Is this override active.

Examples
NSResourceOverride thing;
Bool isActive = thing.GetIsActive();

GetResourceName()

The resource entity contains resource information.

Declaration
String GetResourceName()
Returns
Type Description
String

The name of the resource, without any brackets or braces. For example, SR_CONTACt.

Examples
NSResourceOverride thing;
String resourceName = thing.GetResourceName();

GetResourceValue()

The resource entity contains resource information.

Declaration
String GetResourceValue()
Returns
Type Description
String

The value of the resource in the given culture.

Examples
NSResourceOverride thing;
String resourceValue = thing.GetResourceValue();

SetCulture(String)

The resource entity contains resource information.

Declaration
Void SetCulture(String culture)
Parameters
Type Name Description
String culture

.NET-style culture code, such as NB-NO or EN-Uk.

Returns
Type Description
Void
Examples
NSResourceOverride thing;
String culture;
thing.SetCulture(culture);

SetIsActive(Bool)

The resource entity contains resource information.

Declaration
Void SetIsActive(Bool isActive)
Parameters
Type Name Description
Bool isActive

Is this override active.

Returns
Type Description
Void
Examples
NSResourceOverride thing;
Bool isActive;
thing.SetIsActive(isActive);

SetResourceName(String)

The resource entity contains resource information.

Declaration
Void SetResourceName(String 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
Examples
NSResourceOverride thing;
String resourceName;
thing.SetResourceName(resourceName);

SetResourceValue(String)

The resource entity contains resource information.

Declaration
Void SetResourceValue(String resourceValue)
Parameters
Type Name Description
String resourceValue

The value of the resource in the given culture.

Returns
Type Description
Void
Examples
NSResourceOverride thing;
String resourceValue;
thing.SetResourceValue(resourceValue);
In This Article
© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top