DbConnectionStringBuilder.ShouldSerialize Method (String)

 

Indicates whether the specified key exists in this DbConnectionStringBuilder instance.

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

public virtual bool ShouldSerialize(
	string keyword
)

Parameters

keyword
Type: System.String

The key to locate in the DbConnectionStringBuilder.

Return Value

Type: System.Boolean

true if the DbConnectionStringBuilder contains an entry with the specified key; otherwise false.

This method behaves identically to the ContainsKey method.

Universal Windows Platform
Available since 10
.NET Framework
Available since 2.0
Return to top
Show: