检索与指定键关联的值。
命名空间:  Microsoft.VisualStudio.TestTools.Execution
程序集:  Microsoft.VisualStudio.QualityTools.ExecutionCommon(在 Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll 中)
语法
声明
Function GetIntValue ( _
    key As String _
) As Integer
int GetIntValue(
    string key
)
int GetIntValue(
    String^ key
)
abstract GetIntValue : 
        key:string -> int 
function GetIntValue(
    key : String
) : int
参数
- key
 类型:System.String
 一个 string,表示要检索的元素的键。
返回值
类型:System.Int32
检索到的 int 值。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关更多信息,请参见通过部分受信任的代码使用库。