Freigeben über


TryGetValueProvider.CreateInstance(Type) Methode

Definition

Gibt einen TryGetValueDelegate für den angegebenen IDictionary<TKey,TValue> Typ zurück.

public:
 static Microsoft::AspNetCore::Mvc::ViewFeatures::TryGetValueDelegate ^ CreateInstance(Type ^ targetType);
public static Microsoft.AspNetCore.Mvc.ViewFeatures.TryGetValueDelegate CreateInstance (Type targetType);
static member CreateInstance : Type -> Microsoft.AspNetCore.Mvc.ViewFeatures.TryGetValueDelegate
Public Shared Function CreateInstance (targetType As Type) As TryGetValueDelegate

Parameter

targetType
Type

Der Zieltyp, der als erwartet wird IDictionary<TKey,TValue>.

Gibt zurück

Die TryGetValueDelegate.

Gilt für: