Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
ShouldSerialize Method

DbConnectionStringBuilder::ShouldSerialize Method

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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft