Click or drag to resize

ResourceString Class (Typed)

X#
Extract strings from a resource entity.
Inheritance Hierarchy
Object
  VObject
    ResourceString

Namespace:  XSharp.VO.SDK
Assembly:  XSharp.VOGUIClasses (in XSharp.VOGUIClasses.dll) Version: 2.19
Syntax
 CLASS ResourceString INHERIT VObject
Request Example View Source

The ResourceString type exposes the following members.

Constructors
  NameDescription
Public methodResourceString
Load a resource string from the resource entity.
Top
Properties
  NameDescription
Public propertyLength
A numeric value representing the length—the number of characters—of a ResourceString object.
Public propertyValue
The value held in the ResourceString object.
Top
Functions
  NameDescription
Public methodAsString
Return the text stored in a resource string.
Public methodDestroy
Free memory resources allocated for a VObject object and its derived objects.
(Inherited from VObject.)
Top
Globals and Defines
  NameDescription
Public fieldoCargo
Cargo slot.
(Inherited from VObject.)
Top
Remarks
You can use this facility to provide language-independent applications (for example, substitute French text for German text and recompile the resource entity).
Examples
For an example using the ResourceString class, refer to the ResourceFile class example.
See Also