Reflector..::..GetAttribute<(Of <(<'T>)>)> Method (Type, Boolean)

Gets the attribute.

Namespace:  Squid
Assembly:  Squid.Core (in Squid.Core.dll)

Syntax


public static T GetAttribute<T>(
	Type type,
	bool inherit
)
Public Shared Function GetAttribute(Of T) ( _
	type As Type, _
	inherit As Boolean _
) As T
public:
generic<typename T>
static T GetAttribute(
	Type^ type, 
	bool^ inherit
)

Type Parameters

T

Parameters

type
Type: Type
The type.
inherit
Type: Boolean
if set to true [inherit].

Return Value

``0.

See Also


[Overload:Squid.Reflector.GetAttribute`1] Overload