다음을 통해 공유


CustomReflectionContext.GetCustomAttributes 메서드

정의

파생된 클래스에서 재정의된 경우 이 리플렉션 컨텍스트에 제공된 바와 같이 지정된 개체에 대한 사용자 지정 특성의 수정된 컬렉션을 제공합니다.

오버로드

GetCustomAttributes(MemberInfo, IEnumerable<Object>)

파생된 클래스에서 재정의된 경우 이 리플렉션 컨텍스트에 제공된 바와 같이 지정된 멤버에 대한 사용자 지정 특성 목록을 제공합니다.

GetCustomAttributes(ParameterInfo, IEnumerable<Object>)

파생된 클래스에서 재정의된 경우 이 리플렉션 컨텍스트에 제공된 바와 같이 지정된 매개 변수에 대한 사용자 지정 특성 목록을 제공합니다.

GetCustomAttributes(MemberInfo, IEnumerable<Object>)

Source:
CustomReflectionContext.cs
Source:
CustomReflectionContext.cs
Source:
CustomReflectionContext.cs
Source:
CustomReflectionContext.cs

파생된 클래스에서 재정의된 경우 이 리플렉션 컨텍스트에 제공된 바와 같이 지정된 멤버에 대한 사용자 지정 특성 목록을 제공합니다.

protected:
 virtual System::Collections::Generic::IEnumerable<System::Object ^> ^ GetCustomAttributes(System::Reflection::MemberInfo ^ member, System::Collections::Generic::IEnumerable<System::Object ^> ^ declaredAttributes);
protected virtual System.Collections.Generic.IEnumerable<object> GetCustomAttributes (System.Reflection.MemberInfo member, System.Collections.Generic.IEnumerable<object> declaredAttributes);
abstract member GetCustomAttributes : System.Reflection.MemberInfo * seq<obj> -> seq<obj>
override this.GetCustomAttributes : System.Reflection.MemberInfo * seq<obj> -> seq<obj>
Protected Overridable Function GetCustomAttributes (member As MemberInfo, declaredAttributes As IEnumerable(Of Object)) As IEnumerable(Of Object)

매개 변수

member
MemberInfo

사용자 지정 특성이 반환되는 멤버입니다.

declaredAttributes
IEnumerable<Object>

현재 컨텍스트에 있는 멤버 특성의 컬렉션입니다.

반환

이 리플렉션 컨텍스트에서 지정된 멤버의 사용자 지정 특성을 나타내는 컬렉션입니다.

적용 대상

GetCustomAttributes(ParameterInfo, IEnumerable<Object>)

Source:
CustomReflectionContext.cs
Source:
CustomReflectionContext.cs
Source:
CustomReflectionContext.cs
Source:
CustomReflectionContext.cs

파생된 클래스에서 재정의된 경우 이 리플렉션 컨텍스트에 제공된 바와 같이 지정된 매개 변수에 대한 사용자 지정 특성 목록을 제공합니다.

protected:
 virtual System::Collections::Generic::IEnumerable<System::Object ^> ^ GetCustomAttributes(System::Reflection::ParameterInfo ^ parameter, System::Collections::Generic::IEnumerable<System::Object ^> ^ declaredAttributes);
protected virtual System.Collections.Generic.IEnumerable<object> GetCustomAttributes (System.Reflection.ParameterInfo parameter, System.Collections.Generic.IEnumerable<object> declaredAttributes);
abstract member GetCustomAttributes : System.Reflection.ParameterInfo * seq<obj> -> seq<obj>
override this.GetCustomAttributes : System.Reflection.ParameterInfo * seq<obj> -> seq<obj>
Protected Overridable Function GetCustomAttributes (parameter As ParameterInfo, declaredAttributes As IEnumerable(Of Object)) As IEnumerable(Of Object)

매개 변수

parameter
ParameterInfo

사용자 지정 특성이 반환되는 매개 변수입니다.

declaredAttributes
IEnumerable<Object>

현재 컨텍스트에 있는 매개 변수 특성의 컬렉션입니다.

반환

이 리플렉션 컨텍스트에서 지정된 매개 변수의 사용자 지정 특성을 나타내는 컬렉션입니다.

적용 대상