共用方式為


CatalogRuleValidationUtility.UnderPathScope Method

Returns true if the itemPath is under the pathScope.

Namespace:  Microsoft.TeamFoundation.Server.Core
Assembly:  Microsoft.TeamFoundation.Server.Core (in Microsoft.TeamFoundation.Server.Core.dll)

Syntax

'Declaration
Public Function UnderPathScope ( _
    itemPath As String, _
    pathScope As String, _
    recurse As Boolean _
) As Boolean
public bool UnderPathScope(
    string itemPath,
    string pathScope,
    bool recurse
)
public:
bool UnderPathScope(
    String^ itemPath, 
    String^ pathScope, 
    bool recurse
)
member UnderPathScope : 
        itemPath:string * 
        pathScope:string * 
        recurse:bool -> bool
public function UnderPathScope(
    itemPath : String, 
    pathScope : String, 
    recurse : boolean
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns Boolean.

.NET Framework Security

See Also

Reference

CatalogRuleValidationUtility Class

Microsoft.TeamFoundation.Server.Core Namespace