DateTime.Deconstruct 方法  
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Deconstruct(DateOnly, TimeOnly)
- Source:
 - DateTime.cs
 
- Source:
 - DateTime.cs
 
- Source:
 - DateTime.cs
 
public:
 void Deconstruct([Runtime::InteropServices::Out] DateOnly % date, [Runtime::InteropServices::Out] TimeOnly % time);
	public void Deconstruct(out DateOnly date, out TimeOnly time);
	member this.Deconstruct : DateOnly * TimeOnly -> unit
	Public Sub Deconstruct (ByRef date As DateOnly, ByRef time As TimeOnly)
	参数
适用于
Deconstruct(Int32, Int32, Int32)
- Source:
 - DateTime.cs
 
- Source:
 - DateTime.cs
 
- Source:
 - DateTime.cs
 
public:
 void Deconstruct([Runtime::InteropServices::Out] int % year, [Runtime::InteropServices::Out] int % month, [Runtime::InteropServices::Out] int % day);
	public void Deconstruct(out int year, out int month, out int day);
	member this.Deconstruct : int * int * int -> unit
	Public Sub Deconstruct (ByRef year As Integer, ByRef month As Integer, ByRef day As Integer)