PropertiesCollection.GetValue<T> Method
Namespace: Microsoft.VisualStudio.Services.WebApi
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Function GetValue(Of T) ( _
key As String, _
defaultValue As T _
) As T
public T GetValue<T>(
string key,
T defaultValue
)
public:
generic<typename T>
T GetValue(
String^ key,
T defaultValue
)
member GetValue :
key:string *
defaultValue:'T -> 'T
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- key
Type: System.String
- defaultValue
Type: T
Return Value
Type: T
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.