共用方式為


IVersionControlService.EnumDir Method

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

Syntax

'Declaration
Function EnumDir ( _
    directoryPath As String, _
    mode As VersionControlEnumDirMode, _
    versionStr As String, _
    recursive As Boolean, _
    <OutAttribute> ByRef items As String(), _
    <OutAttribute> ByRef enumCount As Integer _
) As Integer
int EnumDir(
    string directoryPath,
    VersionControlEnumDirMode mode,
    string versionStr,
    bool recursive,
    out string[] items,
    out int enumCount
)
int EnumDir(
    [InAttribute] String^ directoryPath, 
    [InAttribute] VersionControlEnumDirMode mode, 
    [InAttribute] String^ versionStr, 
    [InAttribute] bool recursive, 
    [OutAttribute] array<String^>^% items, 
    [OutAttribute] int% enumCount
)
abstract EnumDir : 
        directoryPath:string * 
        mode:VersionControlEnumDirMode * 
        versionStr:string * 
        recursive:bool * 
        items:string[] byref * 
        enumCount:int byref -> int
function EnumDir(
    directoryPath : String, 
    mode : VersionControlEnumDirMode, 
    versionStr : String, 
    recursive : boolean, 
    items : String[], 
    enumCount : int
) : int

Parameters

Return Value

Type: System.Int32
Returns Int32.

.NET Framework Security

See Also

Reference

IVersionControlService Interface

Microsoft.VisualStudio.TeamFoundation.VersionControl Namespace