次の方法で共有


ModelAttributes.GetAttributesForType(Type) メソッド

定義

指定 typeした の属性を取得します。

public:
 static Microsoft::AspNetCore::Mvc::ModelBinding::ModelAttributes ^ GetAttributesForType(Type ^ type);
public static Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes GetAttributesForType (Type type);
static member GetAttributesForType : Type -> Microsoft.AspNetCore.Mvc.ModelBinding.ModelAttributes
Public Shared Function GetAttributesForType (type As Type) As ModelAttributes

パラメーター

type
Type

Type属性を解決する必要がある 。

戻り値

ModelAttributesの属性をType持つ インスタンス。

適用対象