Metodo Event.Create<TEventArgs>
Spazio dei nomi: Microsoft.Phone.Reactive
Assembly: Microsoft.Phone.Reactive (in Microsoft.Phone.Reactive.dll)
Sintassi
'Dichiarazione
Public Shared Function Create(Of TEventArgs) ( _
sender As Object, _
eventArgs As TEventArgs _
) As IEvent(Of TEventArgs)
public static IEvent<TEventArgs> Create<TEventArgs>(
Object sender,
TEventArgs eventArgs
)
public:
generic<typename TEventArgs>
static IEvent<TEventArgs>^ Create(
Object^ sender,
TEventArgs eventArgs
)
static member Create :
sender:Object *
eventArgs:'TEventArgs -> IEvent<'TEventArgs>
Parametri di tipo
- TEventArgs
Parametri
- sender
Tipo: System.Object
- eventArgs
Tipo: TEventArgs
Valore restituito
Tipo: Microsoft.Phone.Reactive.IEvent<TEventArgs>
Informazioni sulla versione
.NET per applicazioni Windows Phone
Supportato in: Windows Phone 8, Silverlight 8.1
Sicurezza di .NET Framework
- Attendibilità totale per il chiamante immediato. Impossibile utilizzare questo membro in codice parzialmente attendibile. Per ulteriori informazioni, vedere Utilizzo di librerie da codice parzialmente attendibile.