ModelAttributes.GetAttributesForType(Type) Метод

Определение

Возвращает атрибуты для заданного 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

Параметры

type
Type

Объект , Type для которого необходимо разрешить атрибуты.

Возвращаемое значение

Экземпляр ModelAttributes с атрибутами объекта Type.

Применяется к