PropertiesCollection.TryGetValue<T> Method (String, T%)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Namespace:  Microsoft.VisualStudio.Services.Common
Assembly:  Microsoft.VisualStudio.Services.Common (in Microsoft.VisualStudio.Services.Common.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

  • value
    Type: T%

Return Value

Type: System.Boolean

.NET Framework Security

See Also

Reference

PropertiesCollection Class

TryGetValue Overload

Microsoft.VisualStudio.Services.Common Namespace