AttributeTable.GetCustomAttributes Method (Type)

.NET Framework (current version)
 

Returns an enumeration of all class-level attributes provided for the specified type.

Namespace:   System.Activities.Presentation.Metadata
Assembly:  System.Activities.Presentation (in System.Activities.Presentation.dll)

public IEnumerable GetCustomAttributes(
	Type type
)

Parameters

type
Type: System.Type

The type to get class-level attributes for.

Return Value

Type: System.Collections.IEnumerable

An enumeration of attributes that match the criteria. This will never return a null enumeration.

Exception Condition
ArgumentNullException

type is null.

.NET Framework
Available since 4.0
Return to top
Show: