DataConnectionProperties.TryGetValue(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Retrieves the value of the specified property.
public:
virtual bool TryGetValue(System::String ^ key, [Runtime::InteropServices::Out] System::Object ^ % value);
public bool TryGetValue (string key, out object value);
abstract member TryGetValue : string * obj -> bool
override this.TryGetValue : string * obj -> bool
Public Function TryGetValue (key As String, ByRef value As Object) As Boolean
Parameters
- key
- String
The property name to retrieve the value for.
- value
- Object
When this method returns, contains the value that corresponds to the specified property. This parameter is passed uninitialized.
Returns
true if the property is found; otherwise, false.
Exceptions
The key
parameter is null.