Class StringValueAttribute (1.55.0)

[AttributeUsage(AttributeTargets.Field, AllowMultiple = false)]
public class StringValueAttribute : Attribute

Defines an attribute containing a string representation of the member.

Inheritance

Object > Attribute > StringValueAttribute

Namespace

Google.Apis.Util

Assembly

Google.Apis.Core.dll

Constructors

StringValueAttribute(String)

public StringValueAttribute(string text)

Creates a new string value attribute with the specified text.

Parameter
NameDescription
textString

Properties

Text

public string Text { get; }

The text which belongs to this member.

Property Value
TypeDescription
String

Extension Method