Aracılığıyla paylaş


IContextAccessor.GetIntValue Yöntem

Belirtilen anahtarla ilgili değerini alır.

Ad alanı:  Microsoft.VisualStudio.TestTools.Execution
Derleme:  Microsoft.VisualStudio.QualityTools.ExecutionCommon (Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll içinde)

Sözdizimi

'Bildirim
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

Parametreler

  • key
    Tür: System.String
    A string almak için öğenin anahtarı temsil eder.

Dönüş Değeri

Tür: System.Int32
Alınan int değeri.

.NET Framework Güvenliği

Ayrıca bkz.

Başvuru

IContextAccessor Arabirim

Microsoft.VisualStudio.TestTools.Execution Ad Alanı