string Value { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Value property of the IconAttribute class represents the icon identifier or path associated with a type or type member. This property is used to specify the icon that should be displayed in the user interface or editor for the annotated element.

Usage

To use the Value property, apply the IconAttribute to a class, method, or property, and set the Value property to the desired icon identifier or path. This can be a string representing the icon's name or a path to the icon file.

Example

[Icon("my-icon-path")] // Apply the IconAttribute with a specific icon path
public class MyClass
{
    // Class implementation
}