Frame.CurrentSourcePageType プロパティ

定義

現在表示されているコンテンツの型参照を取得します。

public:
 property TypeName CurrentSourcePageType { TypeName get(); };
TypeName CurrentSourcePageType();
public System.Type CurrentSourcePageType { get; }
var typeName = frame.currentSourcePageType;
Public ReadOnly Property CurrentSourcePageType As Type

プロパティ値

現在表示されているコンテンツの型参照。

注釈

CurrentSourcePageType と SourcePageType は通常、同じ値です。 ただし、フレームが Navigate を呼び出し、ナビゲーションがまだ進行中の場合、CurrentSourcePageType はナビゲーションの前の値であり、 SourcePageType は移動先の値です。

ヒント

Microsoft .NET 言語 (C# または Microsoft Visual Basic) を使用してプログラミングする場合、 TypeName 型は System.Type としてプロジェクトされます。 C# を使用してプログラミングする場合、typeof 演算子を使用して 、型System.Type への参照を取得するのが一般的です。 Microsoft Visual Basic で GetType を使用します

適用対象

こちらもご覧ください