語言

JournalEntryUnifiedViewConverter.Convert 方法

定義

合併兩個導航歷史堆疊。

public:
 virtual System::Object ^ Convert(cli::array <System::Object ^> ^ values, Type ^ targetType, System::Object ^ parameter, System::Globalization::CultureInfo ^ culture);
public object Convert(object[] values, Type targetType, object parameter, System.Globalization.CultureInfo culture);
abstract member Convert : obj[] * Type * obj * System.Globalization.CultureInfo -> obj
override this.Convert : obj[] * Type * obj * System.Globalization.CultureInfo -> obj
Public Function Convert (values As Object(), targetType As Type, parameter As Object, culture As CultureInfo) As Object

參數

values
Object[]

一個由兩個導航堆疊組成的陣列。

targetType
Type

不使用這個參數。

parameter
Object

不使用這個參數。

culture
CultureInfo

不使用這個參數。

傳回

IEnumerable若兩者皆未通過,則可用來枚舉合併後的導航歷史堆疊列表。null null否則。

實作

備註

對於 Frame,導覽堆疊可從以下屬性取得:

對於 NavigationWindow,導覽堆疊可從以下屬性取得:

ForwardStack

兩個通過的導航堆疊合併成一個導覽堆疊,包含每個導航堆疊中最多九個項目加上當前項目。

XAML 屬性使用方式

此類別的成員通常不在 XAML 中使用,或無法在 XAML 中使用。

適用於