共用方式為


StackCopier<T>.DeepCopy 方法

定義

多載

DeepCopy(Stack<T>, CopyContext)

建立所提供輸入的深層複本。

DeepCopy(Stack<T>, Stack<T>, CopyContext)

從 複製成員 input ,並將其複製到 output

DeepCopy(Stack<T>, CopyContext)

建立所提供輸入的深層複本。

public System.Collections.Generic.Stack<T> DeepCopy (System.Collections.Generic.Stack<T> input, Orleans.Serialization.Cloning.CopyContext context);
abstract member DeepCopy : System.Collections.Generic.Stack<'T> * Orleans.Serialization.Cloning.CopyContext -> System.Collections.Generic.Stack<'T>
override this.DeepCopy : System.Collections.Generic.Stack<'T> * Orleans.Serialization.Cloning.CopyContext -> System.Collections.Generic.Stack<'T>
Public Function DeepCopy (input As Stack(Of T), context As CopyContext) As Stack(Of T)

參數

input
Stack<T>

輸入。

context
CopyContext

內容。

傳回

Stack<T>

input 的複本。

實作

適用於

DeepCopy(Stack<T>, Stack<T>, CopyContext)

從 複製成員 input ,並將其複製到 output

public void DeepCopy (System.Collections.Generic.Stack<T> input, System.Collections.Generic.Stack<T> output, Orleans.Serialization.Cloning.CopyContext context);
abstract member DeepCopy : System.Collections.Generic.Stack<'T> * System.Collections.Generic.Stack<'T> * Orleans.Serialization.Cloning.CopyContext -> unit
override this.DeepCopy : System.Collections.Generic.Stack<'T> * System.Collections.Generic.Stack<'T> * Orleans.Serialization.Cloning.CopyContext -> unit
Public Sub DeepCopy (input As Stack(Of T), output As Stack(Of T), context As CopyContext)

參數

input
Stack<T>

輸入。

output
Stack<T>

輸出。

context
CopyContext

內容。

實作

適用於