Namespace: Microsoft.VisualStudio.PlatformUI
Assembly: Microsoft.VisualStudio.Shell.StartPage (in Microsoft.VisualStudio.Shell.StartPage.dll)
Syntax
'宣言
Private Sub Connect ( _
connectionId As Integer, _
target As Object _
) Implements IComponentConnector.Connect
'使用
Dim instance As ContentLoadError
Dim connectionId As Integer
Dim target As Object
CType(instance, IComponentConnector).Connect(connectionId, _
target)
void IComponentConnector.Connect(
int connectionId,
Object target
)
private:
virtual void Connect(
int connectionId,
Object^ target
) sealed = IComponentConnector::Connect
private abstract Connect :
connectionId:int *
target:Object -> unit
private override Connect :
connectionId:int *
target:Object -> unit
JScript does not support explicit interface implementations.
Parameters
- connectionId
Type: System.Int32
The id.
- target
Type: System.Object
The target.
Implements
IComponentConnector.Connect(Int32, Object)
Remarks
The IComponentConnector interface is not intended for use by anything other than the markup compiler.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.