ScriptMemberAttribute Constructor (String, ScriptAccess, ScriptMemberFlags) |
Initializes a new
ScriptMemberAttribute instance with the specified name, script access setting, and script options.
Namespace:
Microsoft.ClearScript
Assembly:
ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.4
Syntaxpublic ScriptMemberAttribute(
string name,
ScriptAccess access,
ScriptMemberFlags flags
)
Public Sub New (
name As String,
access As ScriptAccess,
flags As ScriptMemberFlags
)
public:
ScriptMemberAttribute(
String^ name,
ScriptAccess access,
ScriptMemberFlags flags
)
new :
name : string *
access : ScriptAccess *
flags : ScriptMemberFlags -> ScriptMemberAttribute
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. - flags
- Type: Microsoft.ClearScriptScriptMemberFlags
The script options for the target type member.
See Also