Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method determines if loading is complete for a solution or project being loaded asynchronously.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Syntax
'Declaration
Function IsLoadingContent ( _
pHierarchy As IVsHierarchy, _
<OutAttribute> ByRef pfIsLoading As Integer _
) As Integer
int IsLoadingContent(
IVsHierarchy pHierarchy,
out int pfIsLoading
)
int IsLoadingContent(
[InAttribute] IVsHierarchy^ pHierarchy,
[OutAttribute] int% pfIsLoading
)
abstract IsLoadingContent :
pHierarchy:IVsHierarchy *
pfIsLoading:int byref -> int
function IsLoadingContent(
pHierarchy : IVsHierarchy,
pfIsLoading : int
) : int
Parameters
- pHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy
[in] The solution or project hierarchy to check loading for.
- pfIsLoading
Type: System.Int32%
[out] Returns nonzero (TRUE) if the hierarchy's contents are still being loaded from source control. Otherwise, returns zero (FALSE), indicating that loading is complete.
Return Value
Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl
HRESULT IsLoadingContent(
[in] IVsHierarchy *pHierarchy,
[out] BOOL *pfIsLoading
);
An alternative method for a project to determine if a load has completed is to implement the IVsAsynchOpenFromSccProjectEvents interface and wait for the source control package to call the OnLoadComplete method.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.