Compartilhar via


ModelAttributes.GetAttributesForType(Type) Método

Definição

Obtém os atributos para o determinado 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

Parâmetros

type
Type

O Type para o qual os atributos precisam ser resolvidos.

Retornos

Uma ModelAttributes instância com os atributos do Type.

Aplica-se a