IComponentConnector.Connect(Int32, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.