Language

ShellContent.QueryParameters プロパティ

定義

コンテンツが選択されたときに、このコンテンツのページに指定されたクエリ パラメーターを取得します。

public:
 property System::Collections::Generic::IList<Microsoft::Maui::Controls::ShellContentQueryParameter ^> ^ QueryParameters { System::Collections::Generic::IList<Microsoft::Maui::Controls::ShellContentQueryParameter ^> ^ get(); };
public System.Collections.Generic.IList<Microsoft.Maui.Controls.ShellContentQueryParameter> QueryParameters { get; }
member this.QueryParameters : System.Collections.Generic.IList<Microsoft.Maui.Controls.ShellContentQueryParameter>
Public ReadOnly Property QueryParameters As IList(Of ShellContentQueryParameter)

プロパティ値

注釈

このコレクションまたはそのパラメーターに対する変更は、このコンテンツが選択されたとき、または次回選択されたときにすぐに適用されます。 このコレクションの値は、 QueryStringよりも優先されます。 シェル ナビゲーションに指定されたパラメーターは、そのナビゲーションよりも優先されます。コンテンツをもう一度選択すると、宣言型パラメーターが再び適用されます。 パラメーターは、このコンテンツの論理子であるため、継承されたバインディング コンテキスト、動的リソース、相対ソースの先祖バインディング、親スコープの XAML 参照をサポートします。 パラメーター インスタンスは、このコレクション内で複数回発生する可能性がありますが、別の ShellContentと共有することはできません。

適用対象