ModelAttributes 클래스

정의

, 속성 또는 매개 변수와 Type연결된 특성의 결합된 목록에 대한 액세스를 제공합니다.

public ref class ModelAttributes
public class ModelAttributes
type ModelAttributes = class
Public Class ModelAttributes
상속
ModelAttributes

생성자

ModelAttributes(IEnumerable<Object>)
사용되지 않음.

에 대한 새 ModelAttributesType만듭니다.

ModelAttributes(IEnumerable<Object>, IEnumerable<Object>)
사용되지 않음.

속성에 대한 새 ModelAttributes 를 만듭니다.

속성

Attributes

모든 특성의 집합을 가져옵니다. 이 instance 속성의 특성을 나타내는 경우 속성 정의의 특성은 속성의 Type에 있는 특성 앞에 있습니다. 이 instance 매개 변수의 특성을 나타내는 경우 매개 변수 정의의 특성은 매개 변수의 Type에 있는 특성 앞에 있습니다.

ParameterAttributes

매개 변수의 특성 집합을 가져오거나 null 이 instance 매개 변수의 특성을 나타내지 않는 경우 입니다.

PropertyAttributes

속성의 특성 집합을 가져오거나 null 이 instance 속성의 특성을 나타내지 않는 경우 입니다.

TypeAttributes

의 특성 집합을 Type가져옵니다. 이 instance 속성을 TypeAttributes 나타내는 경우 에서 PropertyType검색된 특성이 포함됩니다. 이 instance 매개 변수를 나타내는 경우 에서 ParameterType검색된 특성을 포함합니다.

메서드

GetAttributesForParameter(ParameterInfo)

지정된 parameterInfo에 대한 특성을 가져옵니다.

GetAttributesForParameter(ParameterInfo, Type)

지정된 modelType를 사용하여 지정된 parameterInfo 에 대한 특성을 가져옵니다.

GetAttributesForProperty(Type, PropertyInfo)

지정된 property에 대한 특성을 가져옵니다.

GetAttributesForProperty(Type, PropertyInfo, Type)

지정된 modelType를 사용하여 지정된 property 에 대한 특성을 가져옵니다.

GetAttributesForType(Type)

지정된 type에 대한 특성을 가져옵니다.

적용 대상