BaseEditorFactory.SetSite Method

Sets the site.

Namespace:  Microsoft.VisualStudio.Data.Schema.Project.Common.UI
Assembly:  Microsoft.VisualStudio.Data.Schema.Project (in Microsoft.VisualStudio.Data.Schema.Project.dll)

Syntax

'Declaration
Public Function SetSite ( _
    psp As IServiceProvider _
) As Integer
'Usage
Dim instance As BaseEditorFactory
Dim psp As IServiceProvider
Dim returnValue As Integer

returnValue = instance.SetSite(psp)
public int SetSite(
    IServiceProvider psp
)
public:
virtual int SetSite(
    IServiceProvider^ psp
) sealed
public final function SetSite(
    psp : IServiceProvider
) : int
abstract SetSite : 
        psp:IServiceProvider -> int 
override SetSite : 
        psp:IServiceProvider -> int 

Parameters

Return Value

Type: System.Int32
Returns VSConstants.S_OK.

Implements

IVsEditorFactory.SetSite(IServiceProvider)

.NET Framework Security

See Also

Reference

BaseEditorFactory Class

BaseEditorFactory Members

Microsoft.VisualStudio.Data.Schema.Project.Common.UI Namespace