StringHolder
This class is used to pass strings back and forth between managed and unmanaged code. This should not be needed by plug-ins.
If you are just dealing with an ON_wString*, use StringWrapper
Inheritance Hierarchy
System.Object
Rhino.Runtime.InteropWrappers.StringHolder
Namespace: Rhino.Runtime.InteropWrappers
Assembly: RhinoCommon (in RhinoCommon.dll)
Syntax
public class StringHolder : IDisposable
The StringHolder type exposes the following members.
Constructors
Name
Description
Public Method
StringHolder
Constructor
Methods
Name
Description
Public Method
ConstPointer
C++ pointer used to access the ON_wString, managed plug-ins should never need this.
Public Method
Dispose.
IDispose implementation
Protected Method
Dispose(Boolean)
Called by Dispose and finalizer
Public Method
Equals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected Method
Finalize
Destructor
(Overrides Object.Finalize..)
Public Method
GetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public Method
Static Member
GetString
Gets managed string from unmanaged ON_wString pointer.
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
NonConstPointer
C++ pointer used to access the ON_wString, managed plug-ins should never need this.
Public Method
ToString
Marshals unmanaged ON_wString to a managed .NET string
(Overrides Object.ToString..)
Public Method
ToStringSafe
Marshals unmanaged ON_wString to a managed .NET string and never returns null.