DotNetObjectReference.Create<TValue>(TValue) Method

Definition

public:
generic <typename TValue>
 where TValue : class static Microsoft::JSInterop::DotNetObjectReference<TValue> ^ Create(TValue value);
public static Microsoft.JSInterop.DotNetObjectReference<TValue> Create<TValue> (TValue value) where TValue : class;
static member Create : 'Value -> Microsoft.JSInterop.DotNetObjectReference<'Value (requires 'Value : null)> (requires 'Value : null)
Public Shared Function Create(Of TValue As Class) (value As TValue) As DotNetObjectReference(Of TValue)

Type Parameters

TValue

Parameters

value
TValue

Returns

DotNetObjectReference<TValue>

Applies to