Share via


IComponentConnector.Connect(Int32, Object) Method

Definition

Attaches events and names to XAML-initiated content.

public:
 void Connect(int connectionId, Platform::Object ^ target);
void Connect(int const& connectionId, IInspectable const& target);
public void Connect(int connectionId, object target);
function connect(connectionId, target)
Public Sub Connect (connectionId As Integer, target As Object)

Parameters

connectionId
Int32

int

An identifier token to distinguish calls.

target
Object

Platform::Object

IInspectable

The target to connect events and names to.

Remarks

For more info on IComponentConnector and its purpose in generated code, see "Remarks" section for the IComponentConnector interface.

Applies to