Aracılığıyla paylaş


ModelAttributes.GetAttributesForType(Type) Yöntem

Tanım

Verilen typeöğesinin özniteliklerini alır.

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

Parametreler

type
Type

Type Hangi özniteliklerin çözümlenmesi gerektiği.

Döndürülenler

ModelAttributes özniteliklerine Typesahip bir örnek.

Şunlara uygulanır