Partager via


DotNetObjectReference.Create<TValue>(TValue) Méthode

Définition

Crée une instance de DotNetObjectReference<TValue>.

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)

Paramètres de type

TValue

Paramètres

value
TValue

Type de référence à suivre.

Retours

Instance de DotNetObjectReference<TValue>.

S’applique à