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
item
Type: System.StringItem to check.
parent
Type: System.StringParent to check against.
Return Value
Type: System.Boolean
true if item is an immediate child of parent.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.