CodeConstructType 列舉

定義

指定 ProcessCodeConstruct(CodeConstructType, String) 類別的 PageParserFilter 方法中可剖析的程式碼建構。

public enum class CodeConstructType
public enum CodeConstructType
type CodeConstructType = 
Public Enum CodeConstructType
繼承
CodeConstructType

欄位

CodeSnippet 0

<% ...%> 標記中的運算式。

DataBindingSnippet 2

<%= ... %> 標籤中的運算式。

EncodedExpressionSnippet 4

<%: ... %> 標籤中的運算式。

ExpressionSnippet 1

<%# ... %> 標籤中的運算式。

ScriptTag 3

script 項目中包含 runat="server" 屬性的運算式。

備註

當您使用 ProcessCodeConstruct 類別的 PageParserFilter 方法處理常式代碼建構時,如果您不想進一步處理常式代碼建構,請傳回 true

如需詳細資訊,請參閱版本和相依性

適用於

另請參閱