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) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public class StringWrapper : IDisposable

The StringWrapper type exposes the following members.

Constructors
  NameDescription
Public methodStringWrapper
Initializes a new empty unmanaged string.
Public methodStringWrapper(String)
Initializes a new unmanaged string with an initial value.
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
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
(Overrides ObjectFinalize.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodStatic memberGetStringFromPointer
Get string from an ON_wString*
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(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
See Also