StringValue StringValue StringValue Class

Definition

Represents the string value for attributes.

public class StringValue : DocumentFormat.OpenXml.OpenXmlSimpleType
type StringValue = class
    inherit OpenXmlSimpleType
Public Class StringValue
Inherits OpenXmlSimpleType
Inheritance

Constructors

StringValue() StringValue() StringValue()

Initializes a new instance of the StringValue class.

StringValue(String) StringValue(String) StringValue(String)

Initializes a new instance of the StringValue class using the supplied string.

StringValue(StringValue) StringValue(StringValue) StringValue(StringValue)

Initializes a new instance of the StringValue class by deep copying the supplied StringValue class.

Properties

HasValue HasValue HasValue

Gets a value that indicates whether the underneath text value is a valid value.

(Inherited from OpenXmlSimpleType)
InnerText InnerText InnerText

Gets or sets the inner XML text.

(Inherited from OpenXmlSimpleType)
TextValue TextValue TextValue

DON'T use this property. Only for OpenXmlSimpleType.cs internal use. The internal raw text value.

(Inherited from OpenXmlSimpleType)
Value Value Value

Gets the string value.

Methods

Clone() Clone() Clone()

Creates a duplicate of the current value.

(Inherited from OpenXmlSimpleType)
FromString(String) FromString(String) FromString(String)

Returns a new StringValue object that was created from a String value.

ToString() ToString() ToString()

Returns a String that represents the current value.

(Inherited from OpenXmlSimpleType)
ToString(StringValue) ToString(StringValue) ToString(StringValue)

Returns the String value representation of a StringValue object.

Operators

Implicit(String to StringValue) Implicit(String to StringValue) Implicit(String to StringValue)

Implicitly converts the specified String value to a StringValue object.

Implicit(StringValue to String) Implicit(StringValue to String) Implicit(StringValue to String)

Implicitly converts the specified value to a String value.

Applies to