IVsPersistHierarchyItem2::IsItemReloadable Method (UInt32, Int32)

 

Determines whether a project item is reloadable before calling ReloadItem.

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop (in Microsoft.VisualStudio.Shell.Interop.dll)

int IsItemReloadable(
	unsigned int itemid,
	[OutAttribute] int% pfReloadable
)

Parameters

itemid
Type: System::UInt32

[in] Specifies itemid from VSITEMID.

pfReloadable
Type: System::Int32

[out] Pointer to a flag indicating whether the item is reloadable.

Return Value

Type: System::Int32

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

From vsshell.idl:

HRESULT IVsPersistHierarchyItem2::IsItemReloadable(
   [in] VSITEMID itemid,
   [out, retval] BOOL *pfReloadable
);
Return to top
Show: