EditorFactory.IVsEditorFactory.SetSite Method

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes an editor in the environment.

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

Syntax

'Declaration
Private Function SetSite ( _
    serviceProvider As IServiceProvider _
) As Integer Implements IVsEditorFactory.SetSite
int IVsEditorFactory.SetSite(
    IServiceProvider serviceProvider
)
private:
virtual int SetSite(
    IServiceProvider^ serviceProvider
) sealed = IVsEditorFactory::SetSite
private abstract SetSite : 
        serviceProvider:IServiceProvider -> int  
private override SetSite : 
        serviceProvider:IServiceProvider -> int
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: System.Int32
S_OK.

Implements

IVsEditorFactory.SetSite(IServiceProvider)

Remarks

This member is an explicit interface member implementation. It can be used only when the EditorFactory instance is cast to an IVsEditorFactory interface.

.NET Framework Security

See Also

Reference

EditorFactory Class

Microsoft.VisualStudio.TestTools.Vsip Namespace

IServiceProvider