Open sandboxFocus

Method GetInstance

GetInstance(object)

Gets an UnknownObjectAccessor for a specific object.

Declaration
[RequiresUnreferencedCode("Reads the public properties of the run-time type of the object, which trimming can remove. Use the generic overload, which keeps the properties of its type argument.")]
public static UnknownObjectAccessor GetInstance(object value)
Parameters
Type Name Description
object value

The wrapped object.

Returns
Type Description
UnknownObjectAccessor

A wrapper for value.