Click or drag to resize
StringValueAttribute Class
This attribute is used to represent a string value of an enum elements. There can be only one StringValue attribute on an enum value. It supports automatic resource string translation (IsResourceString property).
Inheritance Hierarchy

Namespace: CMS.Chat
Assembly: CMS.Chat (in CMS.Chat.dll) Version: 12.0.0
Syntax
C#
public class StringValueAttribute : Attribute

The StringValueAttribute type exposes the following members.

Constructors
  NameDescription
Public methodStringValueAttribute(String)
Constructor used to init a StringValue Attribute
Public methodStringValueAttribute(String, Boolean)
Constructor used to init a StringValue Attribute
Top
Properties
  NameDescription
Public propertyIsResourceString
If set to true, StringValue is resolved by ResHelper before returning.
Public propertyStringValue
Holds the stringvalue for a value in an enum.
Top
Methods
See Also