Sdílet prostřednictvím


ModelEvent.GetAttributes – metoda (Type)

Tato událost a typ obsluhy události vrátí atributy zadaného typu, které jsou deklarovány.

Obor názvů:  Microsoft.Windows.Design.Model
Sestavení:  Microsoft.Windows.Design.Interaction (v Microsoft.Windows.Design.Interaction.dll)

Syntaxe

'Deklarace
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>

Parametry

  • attributeType
    Typ: System.Type
    A Type objekt, jehož atributy jsou potřebné.

Vrácená hodnota

Typ: System.Collections.Generic.IEnumerable<Object>
Výčet Type objekty, které představují atributy zadaného typu.

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

ModelEvent Třída

GetAttributes – přetížení

Microsoft.Windows.Design.Model – obor názvů

Další zdroje

WPF Designer Extensibility Architecture