TypedXmlDocument.SetDateTime 方法

定义

重载

SetDateTime(String, DateTime)

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

参数

xpath
String
newValue
DateTime

适用于

SetDateTime(String, Nullable<DateTime>)

重要

此 API 不符合 CLS。

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

参数

xpath
String
newValue
Nullable<DateTime>
属性

适用于