Click or drag to resize

StringWrapper Class

Represents a wrapper to an unmanaged OpenNurbs string.

Wraps a C++ ON_wString*.

Inheritance Hierarchy
SystemObject
  Rhino.Runtime.InteropWrappersStringWrapper

Namespace:  Rhino.Runtime.InteropWrappers
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public class StringWrapper : IDisposable

The StringWrapper type exposes the following members.

Constructors
  NameDescription
Public methodStringWrapper
Initializes a new empty unmanaged string (ON_wString*).
Public methodStringWrapper(String)
Initializes a new unmanaged string with an initial value. The string s can be null.
Top
Properties
  NameDescription
Public propertyConstPointer
Gets the const pointer (const ON_wString*).
Public propertyNonConstPointer
Gets the non-const pointer (ON_wString*).
Top
Methods
  NameDescription
Public methodDispose
Actively reclaims unmanaged resources that this instance uses.
Public methodEquals (Inherited from Object.)
Protected methodFinalize
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
(Overrides ObjectFinalize.)
Public methodGetHashCode (Inherited from Object.)
Public methodStatic memberGetStringFromPointer
Get string from an ON_wString*
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodSetString
Set contents of this string.
Public methodStatic memberSetStringOnPointer
Set contents of an ON_wString*
Public methodToString
Returns the string contents of this wrapper.
(Overrides ObjectToString.)
Top
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.6
See Also