Condividi tramite


EditorFactory.IVsEditorFactory.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

'Dichiarazione
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