Udostępnij za pośrednictwem


ModelAttributes.GetAttributesForType(Type) Metoda

Definicja

Pobiera atrybuty dla danego 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

Parametry

type
Type

Atrybuty Type , które należy rozpoznać.

Zwraca

Wystąpienie ModelAttributes z atrybutami klasy Type.

Dotyczy