Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
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)
Syntax
'Declaration
Function EnsureLocalCopy ( _
itemid As UInteger _
) As Integer
int EnsureLocalCopy(
uint itemid
)
int EnsureLocalCopy(
[InAttribute] unsigned int itemid
)
abstract EnsureLocalCopy :
itemid:uint32 -> int
function EnsureLocalCopy(
itemid : uint
) : int
Parameters
itemid
Type: UInt32[in] The item id (VSITEMID) of the file.
Return Value
Type: Int32
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
);
.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.