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

See Also

Reference

FeatureManager Class

Microsoft.Windows.Design.Features Namespace

FeatureProvider

FeatureConnector<TFeatureProviderType>

Other Resources

Feature Providers and Feature Connectors

Understanding WPF Designer Extensibility