Share via


VersionControlPath.IsImmediateChild Method

Returns true if item is an immediate child of parent.

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

Syntax

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

Parameters

Return Value

Type: System.Boolean
true if item is an immediate child of parent.

.NET Framework Security

See Also

Reference

VersionControlPath Class

Microsoft.TeamFoundation.VersionControl.Common Namespace