HtmlAttributeNameAttribute.DictionaryAttributePrefix 属性
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
获取或设置用于匹配 HTML 属性名称的前缀。 匹配的属性将添加到) (IDictionary<TKey,TValue> 关联的属性。
public:
property System::String ^ DictionaryAttributePrefix { System::String ^ get(); void set(System::String ^ value); };
public string DictionaryAttributePrefix { get; set; }
member this.DictionaryAttributePrefix : string with get, set
Public Property DictionaryAttributePrefix As String
属性值
如果关联的属性与 IDictionary<TKey,TValue>兼容,则默认值为 Name + "-"
。
Name 在这种情况下,不得为 null
或为空。
否则,默认值为 null
。
注解
如果非null
关联属性必须与 兼容 IDictionary<TKey,TValue> ,其中 TKey
为 String。
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈