VersionControlPath.IsSubItem-Methode
Rückholtrue, wenn das Element oder entspricht mit (in der Hierarchie) übergeordneten Knoten ist.
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
)
Parameter
- item
Typ: System.String
So überprüfen Sie Element.
- parent
Typ: System.String
Um zu überprüfen, übergeordnetes Element.
Rückgabewert
Typ: System.Boolean
True, wenn Element oder mit übergeordneten gleich ist.
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.