Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Return 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
item
Type: System.StringItem to check.
parent
Type: System.StringParent to check against.
Return Value
Type: System.Boolean
True if item is equal or under 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.