NativeActivityMetadata.AddImportedDelegate 方法
定义
将指定的委托添加到导入的委托的元数据列表中。Adds the specified delegate to the metadata's list of imported delegates.
重载
| AddImportedDelegate(ActivityDelegate) |
将指定的委托添加到导入的委托的元数据列表中。Adds the specified delegate to the metadata's list of imported delegates. |
| AddImportedDelegate(ActivityDelegate, Object) |
将指定的委托添加到导入的委托的元数据列表中。Adds the specified delegate to the metadata's list of imported delegates. |
AddImportedDelegate(ActivityDelegate)
将指定的委托添加到导入的委托的元数据列表中。Adds the specified delegate to the metadata's list of imported delegates.
public:
void AddImportedDelegate(System::Activities::ActivityDelegate ^ importedDelegate);
public void AddImportedDelegate (System.Activities.ActivityDelegate importedDelegate);
member this.AddImportedDelegate : System.Activities.ActivityDelegate -> unit
Public Sub AddImportedDelegate (importedDelegate As ActivityDelegate)
参数
- importedDelegate
- ActivityDelegate
要添加的委托。The delegate to add.
适用于
AddImportedDelegate(ActivityDelegate, Object)
将指定的委托添加到导入的委托的元数据列表中。Adds the specified delegate to the metadata's list of imported delegates.
public:
void AddImportedDelegate(System::Activities::ActivityDelegate ^ importedDelegate, System::Object ^ origin);
public void AddImportedDelegate (System.Activities.ActivityDelegate importedDelegate, object origin);
member this.AddImportedDelegate : System.Activities.ActivityDelegate * obj -> unit
Public Sub AddImportedDelegate (importedDelegate As ActivityDelegate, origin As Object)
参数
- importedDelegate
- ActivityDelegate
要添加的委托。The delegate to add.
- origin
- Object
委托的源。The origin of the delegate.