IVsNonLocalProject::EnsureLocalCopy Method (UInt32)

 

Verifies that there is a local copy of the file.

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

int EnsureLocalCopy(
	unsigned int itemid
)

Parameters

itemid
Type: System::UInt32

[in] The item id (VSITEMID) of the file.

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 IVsNonLocalProject::EnsureLocalCopy(
   [in] VSITEMID itemid
);
Return to top
Show: