HiddenInputAttribute クラス

定義

"hidden" 型の入力>要素を使用して、関連付けられたプロパティまたは関連付けられた型を持つすべてのプロパティを<編集する必要があることを示します。

public ref class HiddenInputAttribute sealed : Attribute
[System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)]
public sealed class HiddenInputAttribute : Attribute
[<System.AttributeUsage(System.AttributeTargets.Class | System.AttributeTargets.Property, AllowMultiple=false, Inherited=true)>]
type HiddenInputAttribute = class
    inherit Attribute
Public NotInheritable Class HiddenInputAttribute
Inherits Attribute
継承
HiddenInputAttribute
属性

注釈

基底クラスから継承された をHiddenInputAttributeオーバーライドする場合は、(継承された属性に が含まれているDisplayValue = false場合) と、"HiddenInput" 以外の値を持つ とUIHintAttributeの両方[HiddenInput(DisplayValue = true)]を適用する必要があります。

コンストラクター

HiddenInputAttribute()

HiddenInputAttribute クラスの新しいインスタンスを生成します。

プロパティ

DisplayValue

非表示の入力>要素を指定するだけでなく、値を表示するかどうかを示す値を<取得または設定します。 既定値は true です。

適用対象