Click or drag to resize

ScriptMemberAttribute Constructor (String, ScriptAccess)

Initializes a new ScriptMemberAttribute instance with the specified name and script access setting.

Namespace:  Microsoft.ClearScript
Assembly:  ClearScript.Core (in ClearScript.Core.dll) Version: 7.3.1
Syntax
public ScriptMemberAttribute(
	string name,
	ScriptAccess access
)

Parameters

name
Type: SystemString
The name that script code will use to access the target type member.
access
Type: Microsoft.ClearScriptScriptAccess
The script access setting for the target type member.
See Also