CFString Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
String class used by C-only Cocoa APIs.
public class CFString : IDisposable, ObjCRuntime.INativeObject
type CFString = class
interface INativeObject
interface IDisposable
- Inheritance
-
CFString
- Inheritance
- 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) |