PropertiesCollection.TryGetValue<T> Method (String, T%)
Namespace: Microsoft.VisualStudio.Services.WebApi
Assembly: Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Function TryGetValue(Of T) ( _
key As String, _
<OutAttribute> ByRef value As T _
) As Boolean
public bool TryGetValue<T>(
string key,
out T value
)
public:
generic<typename T>
bool TryGetValue(
String^ key,
[OutAttribute] T% value
)
member TryGetValue :
key:string *
value:'T byref -> bool
JScript does not support generic types or methods.
Type Parameters
- T
Parameters
- key
Type: System.String
- value
Type: T%
Return Value
Type: System.Boolean
.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.