Delen via


PropertiesCollection.TryGetValue Method (String, Object%)

Namespace:  Microsoft.VisualStudio.Services.WebApi
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
Public Function TryGetValue ( _
    key As String, _
    <OutAttribute> ByRef value As Object _
) As Boolean
public bool TryGetValue(
    string key,
    out Object value
)
public:
virtual bool TryGetValue(
    String^ key, 
    [OutAttribute] Object^% value
) sealed
abstract TryGetValue : 
        key:string * 
        value:Object byref -> bool  
override TryGetValue : 
        key:string * 
        value:Object byref -> bool
public final function TryGetValue(
    key : String, 
    value : Object
) : boolean

Parameters

Return Value

Type: System.Boolean

Implements

IDictionary<TKey, TValue>.TryGetValue(TKey, TValue%)

.NET Framework Security

See Also

Reference

PropertiesCollection Class

TryGetValue Overload

Microsoft.VisualStudio.Services.WebApi Namespace