DbConnectionStringBuilder.ShouldSerialize(String) Método

Definição

Indica se a chave especificada existe nessa instância DbConnectionStringBuilder.Indicates whether the specified key exists in this DbConnectionStringBuilder instance.

public:
 virtual bool ShouldSerialize(System::String ^ keyword);
public virtual bool ShouldSerialize (string keyword);
abstract member ShouldSerialize : string -> bool
override this.ShouldSerialize : string -> bool
Public Overridable Function ShouldSerialize (keyword As String) As Boolean

Parâmetros

keyword
String

A chave a ser localizada no DbConnectionStringBuilder.The key to locate in the DbConnectionStringBuilder.

Retornos

Boolean

true se o DbConnectionStringBuilder contiver uma entrada com a chave, caso contrário, false.true if the DbConnectionStringBuilder contains an entry with the specified key; otherwise false.

Comentários

Esse método se comporta de forma idêntica ao ContainsKey método.This method behaves identically to the ContainsKey method.

Aplica-se a