Sdílet prostřednictvím


EventIdentifier – konstruktor (Type, String)

Inicializuje novou instanci EventIdentifier třídy s existující typ a název události.

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

Syntaxe

'Deklarace
Public Sub New ( _
    declaringType As Type, _
    name As String _
)
public EventIdentifier(
    Type declaringType,
    string name
)
public:
EventIdentifier(
    Type^ declaringType, 
    String^ name
)
new : 
        declaringType:Type * 
        name:string -> EventIdentifier
public function EventIdentifier(
    declaringType : Type, 
    name : String
)

Parametry

  • declaringType
    Typ: System.Type
    Typ je deklarována jako událost.

Výjimky

Výjimka Podmínka
ArgumentNullException

declaringTypeor name is nullodkaz Null (Nothing v jazyce Visual Basic).

Zabezpečení rozhraní .NET Framework

Viz také

Odkaz

EventIdentifier Struktura

EventIdentifier – přetížení

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