共用方式為


OpenXmlAttribute.Prefix 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 namespace prefix of the current attribute.

public string Prefix { get; set; }
public string Prefix { 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 Prefix { get; }
member this.Prefix : 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.Prefix : string with get, set
member this.Prefix : string
Public Property Prefix As String
Public ReadOnly Property Prefix As String

Property Value

Returns String.

Attributes

Applies to