共用方式為


TypedXmlDocument.SetBoolean 方法

定義

多載

SetBoolean(String, Boolean)
SetBoolean(String, Nullable<Boolean>)

SetBoolean(String, Boolean)

public:
 virtual void SetBoolean(System::String ^ xpath, bool newValue);
public virtual void SetBoolean (string xpath, bool newValue);
abstract member SetBoolean : string * bool -> unit
override this.SetBoolean : string * bool -> unit
Public Overridable Sub SetBoolean (xpath As String, newValue As Boolean)

參數

xpath
String
newValue
Boolean

適用於

SetBoolean(String, Nullable<Boolean>)

重要

此 API 不符合 CLS 規範。

public:
 virtual void SetBoolean(System::String ^ xpath, Nullable<bool> newValue);
[System.CLSCompliant(false)]
public virtual void SetBoolean (string xpath, Nullable<bool> newValue);
abstract member SetBoolean : string * Nullable<bool> -> unit
override this.SetBoolean : string * Nullable<bool> -> unit
Public Overridable Sub SetBoolean (xpath As String, newValue As Nullable(Of Boolean))

參數

xpath
String
newValue
Nullable<Boolean>
屬性

適用於