Language

NavigationService.Source プロパティ

定義

現在のコンテンツの URI、または現在移動中の新しいコンテンツの URI を取得または設定します。

public:
 property Uri ^ Source { Uri ^ get(); void set(Uri ^ value); };
public Uri Source { get; set; }
member this.Source : Uri with get, set
Public Property Source As Uri

プロパティ値

Uri

現在のコンテンツの URI、または現在移動中のコンテンツを含む Uri 。

注釈

このプロパティを現在表示されている URI とは異なる URI に設定すると、ナビゲーター (NavigationWindow、 Frame) は指定された URI に移動します。

Source は、ナビゲーションが取り消されない限り、移動する URI から読み込まれるコンテンツに設定されます。

Source はフラグメントのみの URI で設定でき、 nullに設定できます。

適用対象