VersionControlPath.IsSubItem 方法

傳回 true,如果項目等於或在 (在 heirarchy) 父代底下。

命名空間:  Microsoft.TeamFoundation.VersionControl.Common
組件:  Microsoft.TeamFoundation.VersionControl.Common (在 Microsoft.TeamFoundation.VersionControl.Common.dll 中)

語法

'宣告
Public Shared Function IsSubItem ( _
    item As String, _
    parent As String _
) As Boolean
public static bool IsSubItem(
    string item,
    string parent
)

參數

傳回值

類型:System.Boolean
如果項目相等或父下,則為 true。

.NET Framework 安全性

請參閱

參考

VersionControlPath 類別

Microsoft.TeamFoundation.VersionControl.Common 命名空間