Table of Contents

Class DeprecatedAttribute

Namespace
Dynamicweb.Core
Assembly
Dynamicweb.Core.dll
Marked functionality is regarded as obsolete and best avoided. Does not provide an alternative.
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Struct|AttributeTargets.Enum|AttributeTargets.Constructor|AttributeTargets.Method|AttributeTargets.Property|AttributeTargets.Field|AttributeTargets.Event|AttributeTargets.Interface|AttributeTargets.Delegate, Inherited = false)]
public class DeprecatedAttribute : Attribute
Inheritance
DeprecatedAttribute
Inherited Members

Constructors

DeprecatedAttribute(string)

Constructor with minimum explanation.
public DeprecatedAttribute(string message)

Parameters

message string
The reason why the target is deprecated

Properties

Message

Explanation why the target is deprecated.
public string Message { get; set; }

Property Value

string
To top