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