TypedXmlDocument.SetBoolean 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
- 屬性