Skip to content

StringHolder

Public Class

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

Constructor


Methods

Name

Description


Public Method

C++ pointer used to access the ON_wString, managed plug-ins should never need this.


Public Method

IDispose implementation


Protected Method

Called by Dispose and finalizer


Public Method

Equals

Determines whether the specified object is equal to the current object.

(Inherited from Object.)


Protected Method

Destructor

(Overrides Object.Finalize..)


Public Method

GetHashCode

Serves as the default hash function.

(Inherited from Object.)


Public Method
Static Member

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

C++ pointer used to access the ON_wString, managed plug-ins should never need this.


Public Method

Marshals unmanaged ON_wString to a managed .NET string

(Overrides Object.ToString..)


Public Method

Marshals unmanaged ON_wString to a managed .NET string and never returns null.