New to Telerik ReportingStart a free 30-day trial

Used to specify the usage and the design time description of the functions.

Definition

Namespace:Telerik.Reporting.Expressions

Assembly:Telerik.Reporting.dll

Syntax:

C#
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = true)]
public class ExampleAttribute : Attribute

Inheritance: objectAttributeExampleAttribute

Constructors

Initializes a new instance of the ExampleAttribute class.

C#
public ExampleAttribute()

Initializes a new instance of the ExampleAttribute class.

C#
public ExampleAttribute(string text)
Parameters:textstring

The text.

Fields

Returns the default instance of the attribute with all its properties set to default values.

C#
public static readonly ExampleAttribute Default

Properties

Text

string

Gets or sets the example text.

C#
public string Text { get; set; }
Property Value:

The example text.

Methods

Indicates whether this attribute instance and a specified object are equal.

C#
public override bool Equals(object obj)
Parameters:objobject

Another object to compare to.

Returns:

bool

true if obj is equal to this instance; otherwise, false.

Overrides: Attribute.Equals(object)

Returns the hash code for this attribute instance.

C#
public override int GetHashCode()
Returns:

int

A 32-bit signed integer hash code.

Overrides: Attribute.GetHashCode()

Determines if this attribute is the default.

C#
public override bool IsDefaultAttribute()
Returns:

bool

true if the attribute is the default value for this attribute class; otherwise, false.

Overrides: Attribute.IsDefaultAttribute()