Freigeben über


EditorFactory.SetSite Method

Initializes an editor in the environment.

Namespace:  Microsoft.VisualStudio.TestTools.Vsip
Assembly:  Microsoft.VisualStudio.QualityTools.Vsip (in Microsoft.VisualStudio.QualityTools.Vsip.dll)

Syntax

'Declaration
Protected Overridable Function SetSite ( _
    serviceProvider As IServiceProvider _
) As Integer
protected virtual int SetSite(
    IServiceProvider serviceProvider
)
protected:
virtual int SetSite(
    IServiceProvider^ serviceProvider
)
abstract SetSite : 
        serviceProvider:IServiceProvider -> int 
override SetSite : 
        serviceProvider:IServiceProvider -> int 
protected function SetSite(
    serviceProvider : IServiceProvider
) : int

Parameters

Return Value

Type: System.Int32
S_OK .

.NET Framework Security

See Also

Reference

EditorFactory Class

Microsoft.VisualStudio.TestTools.Vsip Namespace

IServiceProvider