IVsDataClientObject<T>.Initialize Method

Initializes the client object with the underlying provider object implementation.

Namespace:  Microsoft.VisualStudio.Data.Core
Assembly:  Microsoft.VisualStudio.Data.Core (in Microsoft.VisualStudio.Data.Core.dll)

Syntax

'宣言
Sub Initialize ( _
    providerObj As T _
)
'使用
Dim instance As IVsDataClientObject
Dim providerObj As T

instance.Initialize(providerObj)
void Initialize(
    T providerObj
)
void Initialize(
    T providerObj
)
function Initialize(
    providerObj : T
)

Parameters

  • providerObj
    Type: T

    The underlying provider object implementation.

Exceptions

Exception Condition
ArgumentNullException

The providerObj parameter is a null reference (Nothing in Visual Basic).

Remarks

This method is normally called by the DDEX runtime only when initializing a client object to return to a DDEX client. The typical implementation of this method by the owner of the support entity is to simply store the provider object so that it can be called into later.

Permissions

See Also

Reference

IVsDataClientObject<T> Interface

IVsDataClientObject<T> Members

Microsoft.VisualStudio.Data.Core Namespace