IEditorSettings.AddQuotesToHtmlAttributes 屬性

適用於版本2

取得或設定是否在 HTML 格式中將引號新增至 HTML 屬性值。

命名空間:  Microsoft.WebMatrix.Extensibility.Editor
組件:  Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)

語法

'宣告
Property AddQuotesToHtmlAttributes As Boolean 
    Get 
    Set
'用途
Dim instance As IEditorSettings 
Dim value As Boolean 

value = instance.AddQuotesToHtmlAttributes

instance.AddQuotesToHtmlAttributes = value
bool AddQuotesToHtmlAttributes { get; set; }
property bool AddQuotesToHtmlAttributes {
    bool get ();
    void set (bool value);
}
abstract AddQuotesToHtmlAttributes : bool with get, set
function get AddQuotesToHtmlAttributes () : boolean 
function set AddQuotesToHtmlAttributes (value : boolean)

屬性值

型別:System.Boolean
true 表示在 HTML 格式設定中將引號新增至 HTML 屬性值,否則為 false。

請參閱

參考

IEditorSettings 介面

Microsoft.WebMatrix.Extensibility.Editor 命名空間