共用方式為


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

See Also

Reference

VCFile Interface

Microsoft.VisualStudio.VCProjectEngine Namespace