WebPageBase.IsSectionDefined(String) 方法

定义

返回一个值,该值指示是否在页中定义了指定部分。

public bool IsSectionDefined (string name);
member this.IsSectionDefined : string -> bool
Public Function IsSectionDefined (name As String) As Boolean

参数

name
String

要搜索的部分的名称。

返回

如果在页面中定义了指定的节,则为 true;否则为 false。

适用于