共用方式為


TypedXmlDocument.SetUInt16 方法

定義

多載

SetUInt16(String, Object)
SetUInt16(String, UInt16)

SetUInt16(String, Object)

public:
 virtual void SetUInt16(System::String ^ xpath, System::Object ^ newValue);
public virtual void SetUInt16 (string xpath, object newValue);
abstract member SetUInt16 : string * obj -> unit
override this.SetUInt16 : string * obj -> unit
Public Overridable Sub SetUInt16 (xpath As String, newValue As Object)

參數

xpath
String
newValue
Object

適用於

SetUInt16(String, UInt16)

重要

此 API 不符合 CLS 規範。

public:
 virtual void SetUInt16(System::String ^ xpath, System::UInt16 newValue);
[System.CLSCompliant(false)]
public virtual void SetUInt16 (string xpath, ushort newValue);
abstract member SetUInt16 : string * uint16 -> unit
override this.SetUInt16 : string * uint16 -> unit
Public Overridable Sub SetUInt16 (xpath As String, newValue As UShort)

參數

xpath
String
newValue
UInt16
屬性

適用於