Bagikan melalui


ModelAttributes.GetAttributesForType(Type) Metode

Definisi

Mendapatkan atribut untuk yang diberikan 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

Parameter

type
Type

atribut Type mana yang perlu diselesaikan.

Mengembalikan

Instans ModelAttributes dengan atribut .Type

Berlaku untuk