Jazyk

QueryPropertyAttribute Třída

Definice

Mapuje parametr dotazu z identifikátoru URI na vlastnost na cílové stránce nebo modelu zobrazení během navigace v prostředí.

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
Dědičnost
QueryPropertyAttribute
Atributy

Konstruktory

Name Description
QueryPropertyAttribute(String, String)

Vytvoří novou QueryPropertyAttribute , která mapuje parametr dotazu na vlastnost.

Vlastnosti

Name Description
Name

Získá název vlastnosti, která obdrží hodnotu parametru dotazu.

QueryId

Získá název parametru dotazu z identifikátoru URI.

Platí pro