DOC: Correction: FlagsAttribute Does Not Allow Bitwise Comparison When ConnectionState Is Closed (319348)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft .NET Framework Class Libraries

This article was previously published under Q319348

SUMMARY

The System.Data namespace contains an enumeration that is named ConnectionState that describes the current state of the connection to a data source.

The "ConnectionState Enumeration" topic on the Microsoft Developer Network (MSDN) states the following:

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

The statement should read as follows:

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of all its member values except for Closed (which is zero).

For additional information, visit the following Microsoft Web site:

REFERENCES

For additional information about the FlagsAttribute Class, visit the following MSDN Web site:

Modification Type:MinorLast Reviewed:8/7/2003
Keywords:kbSystemData kbdocerr kbfix kbprb KB319348