Share via


ModelEvent.GetAttributes Method (Type)

Returns the attributes of the specified type that are declared on this event and the event's handler type.

Namespace:  Microsoft.Windows.Design.Model
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public MustOverride Function GetAttributes ( _
    attributeType As Type _
) As IEnumerable(Of Object)
public abstract IEnumerable<Object> GetAttributes(
    Type attributeType
)
public:
virtual IEnumerable<Object^>^ GetAttributes(
    Type^ attributeType
) abstract
abstract GetAttributes : 
        attributeType:Type -> IEnumerable<Object> 
public abstract function GetAttributes(
    attributeType : Type
) : IEnumerable<Object>

Parameters

  • attributeType
    Type: System.Type
    A Type object for which attributes are needed.

Return Value

Type: System.Collections.Generic.IEnumerable<Object>
An enumeration of Type objects that represent the attributes of the specified type.

.NET Framework Security

See Also

Reference

ModelEvent Class

GetAttributes Overload

Microsoft.Windows.Design.Model Namespace

Other Resources

WPF Designer Extensibility Architecture