Edit

Share via


CFString Constructors

Definition

Overloads

CFString()
CFString(IntPtr)
CFString(String)

Creates a CFString from a C# string.

CFString(IntPtr, Boolean)

CFString()

protected CFString ();

Applies to

CFString(IntPtr)

public CFString (IntPtr handle);
new CoreFoundation.CFString : nativeint -> CoreFoundation.CFString

Parameters

handle
IntPtr

nativeint

Applies to

CFString(String)

Creates a CFString from a C# string.

public CFString (string str);
new CoreFoundation.CFString : string -> CoreFoundation.CFString

Parameters

str
String

Applies to

CFString(IntPtr, Boolean)

[Foundation.Preserve(Conditional=true)]
protected internal CFString (IntPtr handle, bool owns);
new CoreFoundation.CFString : nativeint * bool -> CoreFoundation.CFString

Parameters

handle
IntPtr

nativeint

owns
Boolean
Attributes

Applies to