Método SqlCeConnectionStringBuilder.TryGetValue
Recupera um valor correspondente à chave fornecida neste SqlCeconnectionStringBuilder.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (em System.Data.SqlServerCe.dll)
Sintaxe
'Declaração
Public Overrides Function TryGetValue ( _
keyword As String, _
<OutAttribute> ByRef value As Object _
) As Boolean
'Uso
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
Parâmetros
- keyword
Tipo: System.String
A chave do item a ser recuperado.
- value
Tipo: System.Object%
O valor correspondente à palavra-chave.
Valor de retorno
Tipo: System.Boolean
true se a palavra-chave tiver sido encontrada na cadeia de conexão; caso contrário, false.