Dynamicweb 8 Documentation
GetCustomAttributes<T> Method

Attribute type.
Type to examine.
Returns a list of custom attributes of the given type defined on a given type.
Syntax
'Declaration
 
Public Shared Function GetCustomAttributes(Of T As Attribute)( _ 
   ByVal targetType As Type _ 
) As IEnumerable(Of T)
public static IEnumerable<T> GetCustomAttributes<T>( 
   Type targetType
)
where T: Attribute

Parameters

targetType
Type to examine.

Type Parameters

T
Attribute type.

Return Value

A list of custom attributes.
Exceptions
ExceptionDescription
System.ArgumentNullExceptiontargetType is null.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

AddInManager Class
AddInManager Members

Send Feedback