HtmlAttributeNameAttribute クラス

定義

プロパティの HTML 属性名を ITagHelper オーバーライドするために使用されます。

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

コンストラクター

HtmlAttributeNameAttribute()

と等しい クラスNameHtmlAttributeNameAttribute新しいインスタンスをインスタンス化しますnull

HtmlAttributeNameAttribute(String)

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

プロパティ

DictionaryAttributePrefix

HTML 属性名の照合に使用するプレフィックスを取得または設定します。 一致する属性は、関連付けられたプロパティ ( IDictionary<TKey,TValue>) に追加されます。

DictionaryAttributePrefixSet

が設定されているかどうかを DictionaryAttributePrefix 示す値を取得します。 初期化 DictionaryAttributePrefix されていない値と明示的 null な設定を区別するために使用されます。

Name

関連付けられたプロパティの HTML 属性名。

適用対象