This documentation is archived and is not being maintained.

ObsoleteAttribute Properties

The properties of the ObsoleteAttribute class are listed here. For a complete list of ObsoleteAttribute class members, see the ObsoleteAttribute Members topic.

Public Properties

public propertyIsError

Supported by the .NET Compact Framework.

Gets a Boolean value indicating whether the compiler will treat usage of the obsolete program element as an error.
public propertyMessage

Supported by the .NET Compact Framework.

Gets the workaround message, including a description of the alternative program elements.
public propertyTypeId (inherited from Attribute) When implemented in a derived class, gets a unique identifier for this Attribute.

See Also

ObsoleteAttribute Class | System Namespace