VsUtilities.ReloadProject Method

Expands and reloads a project that is in the current solution and unloaded.

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

Syntax

'Declaration
Public Shared Function ReloadProject ( _
    site As IServiceProvider, _
    fullProjectFileName As String _
) As Boolean
'Usage
Dim site As IServiceProvider
Dim fullProjectFileName As String
Dim returnValue As Boolean

returnValue = VsUtilities.ReloadProject(site, _
    fullProjectFileName)
public static bool ReloadProject(
    IServiceProvider site,
    string fullProjectFileName
)
public:
static bool ReloadProject(
    IServiceProvider^ site, 
    String^ fullProjectFileName
)
public static function ReloadProject(
    site : IServiceProvider, 
    fullProjectFileName : String
) : boolean
static member ReloadProject : 
        site:IServiceProvider * 
        fullProjectFileName:string -> bool 

Parameters

Return Value

Type: System.Boolean
Returns true if the project was queued for reloading, otherwise returns false.

Remarks

Note: The reload command is performed through a post message so it is asynchronous.

.NET Framework Security

See Also

Reference

VsUtilities Class

VsUtilities Members

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