ArgumentValidation.CheckBound 方法 (String, Int32, Int32, Int32)
命名空間: Microsoft.TeamFoundation.Build.Common
組件: Microsoft.TeamFoundation.Build.Common (在 Microsoft.TeamFoundation.Build.Common.dll 中)
語法
'宣告
Public Shared Sub CheckBound ( _
argumentName As String, _
argument As Integer, _
lowerBound As Integer, _
upperBound As Integer _
)
public static void CheckBound(
string argumentName,
int argument,
int lowerBound,
int upperBound
)
參數
- argumentName
型別:System.String
- argument
型別:System.Int32
- lowerBound
型別:System.Int32
- upperBound
型別:System.Int32
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。