次の方法で共有


IVsNonLocalProject.EnsureLocalCopy(UInt32) Method

Definition

Verifies that there is a local copy of the file.

public:
 int EnsureLocalCopy(System::UInt32 itemid);
public:
 int EnsureLocalCopy(unsigned int itemid);
int EnsureLocalCopy(unsigned int itemid);
public int EnsureLocalCopy (uint itemid);
abstract member EnsureLocalCopy : uint32 -> int
Public Function EnsureLocalCopy (itemid As UInteger) As Integer

Parameters

itemid
UInt32

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

Returns

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

Remarks

COM Signature

From vsshell.idl:

HRESULT IVsNonLocalProject::EnsureLocalCopy(  
   [in] VSITEMID itemid  
);  

Applies to