ScriptMemberAttribute(String, ScriptAccess, ScriptMemberFlags) Constructor |
Initializes a new
ScriptMemberAttribute instance with the specified name, script access setting, and script options.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax public 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 String
- The name that script code will use to access the target type member.
- access ScriptAccess
- The script access setting for the target type member.
- flags ScriptMemberFlags
- The script options for the target type member.
See Also