FeatureManager.GetCustomAttributes Method
Enumerates attributes on the specified type.
Namespace: Microsoft.Windows.Design.Features
Assembly: Microsoft.Windows.Design.Extensibility (in Microsoft.Windows.Design.Extensibility.dll)
Syntax
'Declaration
Public Function GetCustomAttributes ( _
type As Type, _
attributeType As Type _
) As IEnumerable(Of Object)
public IEnumerable<Object> GetCustomAttributes(
Type type,
Type attributeType
)
public:
IEnumerable<Object^>^ GetCustomAttributes(
Type^ type,
Type^ attributeType
)
member GetCustomAttributes :
type:Type *
attributeType:Type -> IEnumerable<Object>
public function GetCustomAttributes(
type : Type,
attributeType : Type
) : IEnumerable<Object>
Parameters
- type
Type: System.Type
The type whose attributes are to be enumerated.
- attributeType
Type: System.Type
The type of attribute to return.
Return Value
Type: System.Collections.Generic.IEnumerable<Object>
An enumeration of custom attributes.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Features Namespace
FeatureConnector<TFeatureProviderType>