CFString Class

Definition

String class used by C-only Cocoa APIs.

public class CFString : IDisposable, ObjCRuntime.INativeObject
type CFString = class
    interface INativeObject
    interface IDisposable
Inheritance
CFString
Inheritance
CFString
Derived
Implements

Remarks

Use this class for creating strings that must be passed to methods in the low-level MonoTouch.CoreGraphics API.

Constructors

CFString()
CFString(IntPtr, Boolean)
CFString(IntPtr)
CFString(String)

Creates a CFString from a C# string.

Properties

Handle
Handle (Inherited from NativeObject)
Item[nint]

Get character at a given position.

Length

String length.

Methods

Dispose()
Dispose() (Inherited from NativeObject)
Dispose(Boolean)
Dispose(Boolean) (Inherited from NativeObject)
Finalize()
GetTypeID()

Type identifier for the CoreFoundation.CFString type.

InitializeHandle(IntPtr) (Inherited from NativeObject)
Release() (Inherited from NativeObject)
Retain() (Inherited from NativeObject)
ToString()

Operators

Implicit(CFString to String)
Implicit(String to CFString)

Applies to