NSKeyedArchiver.GlobalGetClassName(Class) Method

Definition

Gets the global class name for a specified class.

public static string GlobalGetClassName(ObjCRuntime.Class kls);
public static string? GlobalGetClassName(ObjCRuntime.Class kls);
static member GlobalGetClassName : ObjCRuntime.Class -> string

Parameters

kls
Class

The Class to query.

Returns

The class name associated with the class, or null if no class name has been set.

Remarks

This method retrieves the class name associated with a class for all instances of NSKeyedArchiver. Use GetClassName(Class) to get the class name for a specific archiver instance.

Applies to