PageParserFilter.AllowServerSideInclude(String) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
判斷解析器是否允許在頁面上包含特定的伺服器端內容。
public:
virtual bool AllowServerSideInclude(System::String ^ includeVirtualPath);
public virtual bool AllowServerSideInclude(string includeVirtualPath);
abstract member AllowServerSideInclude : string -> bool
override this.AllowServerSideInclude : string -> bool
Public Overridable Function AllowServerSideInclude (includeVirtualPath As String) As Boolean
參數
- includeVirtualPath
- String
虛擬路徑指向所包含檔案。
傳回
true如果解析器允許,伺服器端的具體內容包括:否則,。 false 預設值為 false。
備註
覆寫 AllowServerSideInclude 拒絕所有或特定伺服器端包含的方法。 欲了解更多關於伺服器端包含語法的資訊,請參見 Server-Side 包含指令語法。