Partager via


IEntryBucket2.TryGetValue(String, Object) Method

Definition

Try to get data associated with the bucket.

public:
 bool TryGetValue(System::String ^ key, [Runtime::InteropServices::Out] System::Object ^ % content);
public bool TryGetValue (string key, out object content);
abstract member TryGetValue : string * obj -> bool
Public Function TryGetValue (key As String, ByRef content As Object) As Boolean

Parameters

key
String
content
Object

Returns

true if there was data associated with the key; false otherwise.

Remarks

This method will, generally, use the same keys that TryGetValue(String, Object) uses.

Applies to