VersionControlPath.IsSubItem Method

Returns true if the item is equal to or is under (in the heirarchy) parent.

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

Syntax

'Declaration
Public Shared Function IsSubItem ( _
    item As String, _
    parent As String _
) As Boolean
public static bool IsSubItem(
    string item,
    string parent
)
public:
static bool IsSubItem(
    String^ item, 
    String^ parent
)
static member IsSubItem : 
        item:string * 
        parent:string -> bool
public static function IsSubItem(
    item : String, 
    parent : String
) : boolean

Parameters

Return Value

Type: System.Boolean
True if item is equal or under parent.

.NET Framework Security

See Also

Reference

VersionControlPath Class

Microsoft.TeamFoundation.VersionControl.Common Namespace