Compartilhar via


NativeActivityMetadata.AddDelegate Método

Definição

Adiciona o representante especificado à lista de metadados de representantes.

Sobrecargas

AddDelegate(ActivityDelegate)

Adiciona o representante especificado à lista de metadados de representantes.

AddDelegate(ActivityDelegate, Object)

Adiciona o representante especificado à lista de metadados de representantes.

AddDelegate(ActivityDelegate)

Adiciona o representante especificado à lista de metadados de representantes.

public:
 void AddDelegate(System::Activities::ActivityDelegate ^ activityDelegate);
public void AddDelegate (System.Activities.ActivityDelegate activityDelegate);
member this.AddDelegate : System.Activities.ActivityDelegate -> unit
Public Sub AddDelegate (activityDelegate As ActivityDelegate)

Parâmetros

activityDelegate
ActivityDelegate

O representante a ser adicionado.

Aplica-se a

AddDelegate(ActivityDelegate, Object)

Adiciona o representante especificado à lista de metadados de representantes.

public:
 void AddDelegate(System::Activities::ActivityDelegate ^ activityDelegate, System::Object ^ origin);
public void AddDelegate (System.Activities.ActivityDelegate activityDelegate, object origin);
member this.AddDelegate : System.Activities.ActivityDelegate * obj -> unit
Public Sub AddDelegate (activityDelegate As ActivityDelegate, origin As Object)

Parâmetros

activityDelegate
ActivityDelegate

O representante a ser adicionado.

origin
Object

A origem do representante.

Aplica-se a