PropertyBag.TryGetValue Method
Gets the value associated with the specified key.
Namespace: Microsoft.PerformancePoint.Scorecards
Assembly: Microsoft.PerformancePoint.Scorecards.Client (in Microsoft.PerformancePoint.Scorecards.Client.dll)
Syntax
'Declaration
Public Function TryGetValue ( _
key As String, _
<OutAttribute> ByRef value As Object _
) As Boolean
'Usage
Dim instance As PropertyBag
Dim key As String
Dim value As Object
Dim returnValue As Boolean
returnValue = instance.TryGetValue(key, _
value)
public bool TryGetValue(
string key,
out Object value
)
Parameters
key
Type: System.StringThe key of the value.
value
Type: System.ObjectThe value associated with the specified key, if found; otherwise, the default value for the type of the value parameter. This parameter is passed uninitialized.
Return Value
Type: System.Boolean
true if the dictionary contains the value with the specified key; otherwise, false.