VistaDB 5






The key of the item to retrieve.
The value corresponding to the key.
TryGetValue Method (VistaDBConnectionStringBuilder)
Retrieves a value corresponding to the supplied key from this VistaDBConnectionStringBuilder.
Syntax
'Declaration
 
Public Overrides NotOverridable Function TryGetValue( _
   ByVal keyword As System.String, _
   ByRef value As System.Object _
) As System.Boolean
'Usage
 
Dim instance As VistaDBConnectionStringBuilder
Dim keyword As System.String
Dim value As System.Object
Dim value As System.Boolean
 
value = instance.TryGetValue(keyword, value)
public override System.bool TryGetValue( 
   System.string keyword,
   out System.object value
)
public function TryGetValue( 
    keyword: System.String;
   Out  value: System.TObject
): System.Boolean; override; 
public override function TryGetValue( 
   keyword : System.String,
   value : System.Object
) : System.boolean;
public: System.bool TryGetValue( 
   System.string* keyword,
   [PARAMFLAG::Out] System.Object* value
) override 
public:
System.bool TryGetValue( 
   System.String^ keyword,
   [Out] System.Object^ value
) override 

Parameters

keyword
The key of the item to retrieve.
value
The value corresponding to the key.

Return Value

true if keyword was found within the connection string, false otherwise.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also