共用方式為


IHtmlCopyOptions.BeforeCodeSnippet 屬性

適用於版本2

取得要插入在標記產生做為預設值之 Null 前面的 HTML 程式碼片段。

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

語法

'宣告
ReadOnly Property BeforeCodeSnippet As String 
    Get
'用途
Dim instance As IHtmlCopyOptions 
Dim value As String 

value = instance.BeforeCodeSnippet
string BeforeCodeSnippet { get; }
property String^ BeforeCodeSnippet {
    String^ get ();
}
abstract BeforeCodeSnippet : string
function get BeforeCodeSnippet () : String

屬性值

型別:System.String
要插入在標記產生之 Null 前面的 HTML 程式碼片段。

請參閱

參考

IHtmlCopyOptions 介面

Microsoft.WebMatrix.Extensibility 命名空間