EntityConnectionStringBuilder.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 a value corresponding to the supplied key from this EntityConnectionStringBuilder .
public override bool TryGetValue (string keyword, out object value);
override this.TryGetValue : string * -> bool
Public Overrides Function TryGetValue (keyword As String, ByRef value As Object) As Boolean
Parameters
- keyword
- String
The key of the item to retrieve.
- value
- Object
The value corresponding to keyword.
Returns
Returns true if keyword was found in the connection string; otherwise, false.
Exceptions
keyword contains a null value (Nothing in Visual Basic).
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework