語言

TryGetValueProvider.CreateInstance(Type) 方法

定義

傳 TryGetValueDelegate 回指定型別 IDictionary<TKey,TValue> 的 。

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

參數

targetType
Type

必須是 的目標型別 IDictionary<TKey,TValue> 。

傳回

TryGetValueDelegate。

適用於