共用方式為


IVersionControlService.CanDelete Method

Namespace:  Microsoft.VisualStudio.TeamFoundation.VersionControl
Assembly:  Microsoft.VisualStudio.TeamFoundation.VersionControl (in Microsoft.VisualStudio.TeamFoundation.VersionControl.dll)

Syntax

'Declaration
Function CanDelete ( _
    localPath As String, _
    <OutAttribute> ByRef pDeleteOK As Boolean _
) As Integer
int CanDelete(
    string localPath,
    out bool pDeleteOK
)
int CanDelete(
    [InAttribute] String^ localPath, 
    [OutAttribute] bool% pDeleteOK
)
abstract CanDelete : 
        localPath:string * 
        pDeleteOK:bool byref -> int
function CanDelete(
    localPath : String, 
    pDeleteOK : boolean
) : int

Parameters

Return Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

IVersionControlService Interface

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace