GetCustomAttributes Method (MemberInfo, IEnumerable(Object))
Collapse the table of content
Expand the table of content

CustomReflectionContext.GetCustomAttributes Method (MemberInfo, IEnumerable<Object>)

.NET Framework (current version)
 

When overridden in a derived class, provides a list of custom attributes for the specified member, as represented in this reflection context.

Namespace:   System.Reflection.Context
Assembly:  System.Reflection.Context (in System.Reflection.Context.dll)

protected virtual IEnumerable<object> GetCustomAttributes(
	MemberInfo member,
	IEnumerable<object> declaredAttributes
)

Parameters

member
Type: System.Reflection.MemberInfo

The member whose custom attributes will be returned.

declaredAttributes
Type: System.Collections.Generic.IEnumerable<Object>

A collection of the member's attributes in its current context.

Return Value

Type: System.Collections.Generic.IEnumerable<Object>

A collection that represents the custom attributes of the specified member in this reflection context.

Universal Windows Platform
Available since 4.5
.NET Framework
Available since 4.5
Portable Class Library
Supported in: portable .NET platforms
Return to top
Show:
© 2016 Microsoft