IComponentConnector2 IComponentConnector2 IComponentConnector2 IComponentConnector2 Interface

Definition

Provides infrastructure support for event wiring and build actions.

public : interface IComponentConnector2public interface IComponentConnector2Public Interface IComponentConnector2// This API is not available in Javascript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

IComponentConnector2 is used by the XAML compiler in generated code files. For more info, see the Remarks for IComponentConnector.

Apps compiled by the XAML compiler for Windows 10 implement IComponentConnector2. Apps will fall back to IComponentConnector for compatibility if necessary.

Methods

GetBindingConnector(Int32, Object) GetBindingConnector(Int32, Object) GetBindingConnector(Int32, Object) GetBindingConnector(Int32, Object)

Returns the IComponentConnector for this connection.

public : IComponentConnector GetBindingConnector(int connectionId, PlatForm::Object target)public IComponentConnector GetBindingConnector(Int32 connectionId, Object target)Public Function GetBindingConnector(connectionId As Int32, target As Object) As IComponentConnector// This API is not available in Javascript.
Parameters
connectionId
int Int32 Int32 Int32

An identifier token to distinguish calls.

target
PlatForm::Object Object Object Object

The target to connect events and names to.

Returns

See Also