Class
ExampleAttribute

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

Definition

Namespace:Telerik.Reporting.Expressions

Assembly:Telerik.Reporting.dll

Syntax:

cs-api-definition
[AttributeUsage(AttributeTargets.Class|AttributeTargets.Method, AllowMultiple = true)]
public class ExampleAttribute : Attribute

Inheritance: objectAttributeExampleAttribute

Constructors

ExampleAttribute()

Initializes a new instance of the ExampleAttribute class.

Declaration

cs-api-definition
public ExampleAttribute()

ExampleAttribute(string)

Initializes a new instance of the ExampleAttribute class.

Declaration

cs-api-definition
public ExampleAttribute(string text)

Parameters

text

string

The text.

Fields

Default

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

Declaration

cs-api-definition
public static readonly ExampleAttribute Default

Field Value

ExampleAttribute

Properties

Text

Gets or sets the example text.

Declaration

cs-api-definition
public string Text { get; set; }

Property Value

string

The example text.

Methods

Equals(object)

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

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

Another object to compare to.

Returns

bool

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

Overrides Attribute.Equals(object)

GetHashCode()

Returns the hash code for this attribute instance.

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A 32-bit signed integer hash code.

Overrides Attribute.GetHashCode()

IsDefaultAttribute()

Determines if this attribute is the default.

Declaration

cs-api-definition
public override bool IsDefaultAttribute()

Returns

bool

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

Overrides Attribute.IsDefaultAttribute()