次の方法で共有


QueryPropertyAttribute クラス

定義

シェル ナビゲーション中に、URI からターゲット ページまたはビュー モデルのプロパティにクエリ パラメーターをマップします。

public ref class QueryPropertyAttribute : Attribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public class QueryPropertyAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type QueryPropertyAttribute = class
    inherit Attribute
Public Class QueryPropertyAttribute
Inherits Attribute
継承
QueryPropertyAttribute
属性

コンストラクター

名前 説明
QueryPropertyAttribute(String, String)

クエリ パラメーターをプロパティにマップする新しい QueryPropertyAttribute を作成します。

プロパティ

名前 説明
Name

クエリ パラメーター値を受け取るプロパティの名前を取得します。

QueryId

URI からクエリ パラメーター名を取得します。

適用対象