XmlElement.RemoveAttribute(String) 方法

定义

删除或替换命名属性。

public:
 virtual void RemoveAttribute(Platform::String ^ attributeName) = RemoveAttribute;
void RemoveAttribute(winrt::hstring const& attributeName);
public void RemoveAttribute(string attributeName);
function removeAttribute(attributeName)
Public Sub RemoveAttribute (attributeName As String)

参数

attributeName
String

Platform::String

winrt::hstring

要删除的属性的名称。

适用于