Upravit

Sdílet prostřednictvím


Dlfcn.SetString Method

Definition

Overloads

SetString(IntPtr, String, NSString)

Sets the specified symbol in the library handle to the specified string value.

SetString(IntPtr, String, String)

Sets the specified symbol in the library handle to the specified string value.

SetString(IntPtr, String, NSString)

Sets the specified symbol in the library handle to the specified string value.

public static void SetString (IntPtr handle, string symbol, Foundation.NSString value);
static member SetString : nativeint * string * Foundation.NSString -> unit

Parameters

handle
IntPtr

nativeint

Handle to the dynamic library previously opened with dlopen(String, Int32).

symbol
String

Name of the public symbol in the dynamic library to look up.

value
NSString

The string to set, can be null.

Remarks

The previous string value is not released, it is up to the developer to release the handle to that string if needed.

Applies to

SetString(IntPtr, String, String)

Sets the specified symbol in the library handle to the specified string value.

public static void SetString (IntPtr handle, string symbol, string value);
static member SetString : nativeint * string * string -> unit

Parameters

handle
IntPtr

nativeint

Handle to the dynamic library previously opened with dlopen(String, Int32).

symbol
String

Name of the public symbol in the dynamic library to look up.

value
String

The string to set, can be null.

Remarks

The previous string value is not released, it is up to the developer to release the handle to that string if needed.

Applies to