IVsItemTypeResolutionService.SetSite Method

Sets the site for the type resolution service.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣言
Function SetSite ( _
    punkVsItemTypeResolutionSite As Object _
) As Integer
'使用
Dim instance As IVsItemTypeResolutionService
Dim punkVsItemTypeResolutionSite As Object
Dim returnValue As Integer

returnValue = instance.SetSite(punkVsItemTypeResolutionSite)
int SetSite(
    Object punkVsItemTypeResolutionSite
)
int SetSite(
    [InAttribute] Object^ punkVsItemTypeResolutionSite
)
function SetSite(
    punkVsItemTypeResolutionSite : Object
) : int

Parameters

Return Value

Type: System.Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Permissions

See Also

Reference

IVsItemTypeResolutionService Interface

IVsItemTypeResolutionService Members

Microsoft.VisualStudio.Shell.Interop Namespace