Skip to content

StringWrapper

Public Class

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

Initializes a new empty unmanaged string (ON_wString*).


Public Method

Initializes a new unmanaged string with an initial value. The string s can be null.


Properties

Name

Description


Public Property

Gets the constant pointer (constant ON_wString*).


Public Property

Gets the non-constant pointer (ON_wString*).


Methods

Name

Description


Public Method

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

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

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

Set contents of this string.


Public Method
Static Member

Set contents of an ON_wString*


Public Method

Returns the string contents of this wrapper.

(Overrides Object.ToString..)