ModelAttributes.GetAttributesForType(Type) Método

Definición

Obtiene los atributos para el objeto 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 el Type que se deben resolver los atributos.

Devoluciones

ModelAttributes

Instancia ModelAttributes con los atributos de Type.

Se aplica a