OpenXmlElement.RemoveAttribute(String, String) メソッド

定義

現在の要素から 属性を削除します。

public void RemoveAttribute (string localName, string namespaceUri);
member this.RemoveAttribute : string * string -> unit
Public Sub RemoveAttribute (localName As String, namespaceUri As String)

パラメーター

localName
String

属性のローカル名。

namespaceUri
String

属性の名前空間 URI。

例外

localName が空の場合にスローされます。

適用対象