SqlCeConnectionStringBuilder.TryGetValue Method

Retrieves a value corresponding to the supplied key from this SqlCeconnectionStringBuilder.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Overrides Function TryGetValue ( _
    keyword As String, _
    <OutAttribute> ByRef value As Object _
) As Boolean
'Usage
Dim instance As SqlCeConnectionStringBuilder
Dim keyword As String
Dim value As Object
Dim returnValue As Boolean

returnValue = instance.TryGetValue(keyword, _
    value)
public override bool TryGetValue(
    string keyword,
    out Object value
)
public:
virtual bool TryGetValue(
    String^ keyword, 
    [OutAttribute] Object^% value
) override
abstract TryGetValue : 
        keyword:string * 
        value:Object byref -> bool 
override TryGetValue : 
        keyword:string * 
        value:Object byref -> bool 
public override function TryGetValue(
    keyword : String, 
    value : Object
) : boolean

Parameters

Return Value

Type: System.Boolean
true if keyword was found within the connection string; otherwise, false.

See Also

Reference

SqlCeConnectionStringBuilder Class

System.Data.SqlServerCe Namespace