共用方式為


HtmlMenuItem.ScriptFuncReplaceMode Property

Gets or sets a value indicating whether the ScriptFunc property contains the actual script function or only the name of the script function.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaration
Public Property ScriptFuncReplaceMode As Boolean
    Get
    Set
'Usage
Dim instance As HtmlMenuItem
Dim value As Boolean

value = instance.ScriptFuncReplaceMode

instance.ScriptFuncReplaceMode = value
public bool ScriptFuncReplaceMode { get; set; }

Property Value

Type: System.Boolean
true if the ScriptFunc property contains actual script; false if the ScriptFunc property contains the name of the script function.

Remarks

If the Separator property is true, all other properties are ignored when the HtmlMenuItem is rendered.

See Also

Reference

HtmlMenuItem Class

HtmlMenuItem Members

Microsoft.SharePoint.Portal.WebControls Namespace