StringWrapper
Represents a wrapper to an unmanaged OpenNurbs string.
Wraps a C++ ON_wString*.
Inheritance Hierarchy
System.Object
Rhino.Runtime.InteropWrappers.StringWrapper
Namespace: Rhino.Runtime.InteropWrappers
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public class StringWrapper : IDisposable
The StringWrapper type exposes the following members.
Constructors
Name
Description
Public Method
StringWrapper.
Initializes a new empty unmanaged string (ON_wString*).
Public Method
StringWrapper(String)
Initializes a new unmanaged string with an initial value. The string s can be null.
Properties
Name
Description
Public Property
ConstPointer
Gets the constant pointer (constant ON_wString*).
Public Property
NonConstPointer
Gets the non-constant pointer (ON_wString*).
Methods
Name
Description
Public Method
Dispose
Actively reclaims unmanaged resources that this instance uses.
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected Method
Finalize
Passively reclaims unmanaged resources when the class user did not explicitly call Dispose().
(Overrides Object.Finalize..)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
Static Member
GetStringFromPointer
Get string from an ON_wString*
Public Method
GetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected Method
MemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public Method
SetString
Set contents of this string.
Public Method
Static Member
SetStringOnPointer
Set contents of an ON_wString*
Public Method
ToString
Returns the string contents of this wrapper.
(Overrides Object.ToString..)