Bewerken

Share via


ObjectType.GetObjectValuePrimitive(Object) Method

Definition

Returns a boxed primitive value. This method is used to prevent copying structures multiple times.

This API supports the product infrastructure and is not intended to be used directly from your code.

public:
 static System::Object ^ GetObjectValuePrimitive(System::Object ^ o);
public static object GetObjectValuePrimitive (object? o);
public static object GetObjectValuePrimitive (object o);
static member GetObjectValuePrimitive : obj -> obj
Public Shared Function GetObjectValuePrimitive (o As Object) As Object

Parameters

o
Object

Required. Any expression.

Returns

The primitive value of o typed as object.

Remarks

This class supports the Visual Basic compiler and is not intended to be used directly from your code.

Applies to