共用方式為


IVsMonitorUserContext.SetSite Method

Method information is not provided. Do not use this method.

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

Syntax

'宣告
Function SetSite ( _
    psp As IServiceProvider _
) As Integer
'用途
Dim instance As IVsMonitorUserContext
Dim psp As IServiceProvider
Dim returnValue As Integer

returnValue = instance.SetSite(psp)
int SetSite(
    IServiceProvider psp
)
int SetSite(
    [InAttribute] IServiceProvider^ psp
)
abstract SetSite : 
        psp:IServiceProvider -> int 
function SetSite(
    psp : IServiceProvider
) : int

Parameters

Return Value

Type: System.Int32

.NET Framework Security

See Also

Reference

IVsMonitorUserContext Interface

IVsMonitorUserContext Members

Microsoft.VisualStudio.Shell.Interop Namespace