VCFile.CanMove Method
Returns true if a file can be moved to the specified location.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'宣告
Function CanMove ( _
Parent As Object _
) As Boolean
bool CanMove(
Object Parent
)
bool CanMove(
[InAttribute] Object^ Parent
)
abstract CanMove :
Parent:Object -> bool
function CanMove(
Parent : Object
) : boolean
Parameters
- Parent
Type: System.Object
Required. The folder or project into which you want to move the file or folder.
Return Value
Type: System.Boolean
true if a file can be moved to the specified location; otherwise, false.
.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.