Export (0) Print
Expand All

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
)
public boolean ShouldSerialize (
	String keyword
)
public function ShouldSerialize (
	keyword : String
) : boolean
Not applicable.

Parameters

keyword

The key to locate in the DbConnectionStringBuilder.

Return Value

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

This method behaves identically to the ContainsKey method.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft