Compartir a través de


ModelAttributes.GetAttributesForType(Type) Método

Definición

Obtiene los atributos del especificado 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

para Type el que se deben resolver los atributos.

Devoluciones

Instancia ModelAttributes con los atributos de Type.

Se aplica a