OpenXmlAttribute.Value Property

Definition

Caution

OpenXmlAttribute is a struct so setters may not behave as you might expect. Mutable setters will be removed in a future version.

Gets the text value of the attribute.

public string Value { get; set; }
public string Value { get; [System.Obsolete("OpenXmlAttribute is a struct so setters may not behave as you might expect. Mutable setters will be removed in a future version.")] set; }
public string? Value { get; [System.Obsolete("OpenXmlAttribute is a struct so setters may not behave as you might expect. Mutable setters will be removed in a future version.")] set; }
public string? Value { get; }
member this.Value : string with get, set
[<set: System.Obsolete("OpenXmlAttribute is a struct so setters may not behave as you might expect. Mutable setters will be removed in a future version.")>]
member this.Value : string with get, set
member this.Value : string
Public Property Value As String
Public ReadOnly Property Value As String

Property Value

Returns String.

Attributes

Applies to