すべての間の最大長の共通のルート パスを指定された項目を判定します。
名前空間: Microsoft.TeamFoundation.Build.Common
アセンブリ: Microsoft.TeamFoundation.Build.Common (Microsoft.TeamFoundation.Build.Common.dll 内)
構文
'宣言
Public Shared Function GetCommonServerPath ( _
serverItems As IEnumerable(Of String) _
) As String
public static string GetCommonServerPath(
IEnumerable<string> serverItems
)
パラメーター
- serverItems
型 : System.Collections.Generic.IEnumerable<String>
サーバー パス
戻り値
型 : System.String
共通パスまたは空の文字列
.NET Framework セキュリティ
- 直前の呼び出し元に対する完全な信頼。このメンバーは、部分的に信頼されているコードから使用することはできません。詳細については、「部分信頼コードからのライブラリの使用」を参照してください。