ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
ScriptMemberAttribute Class
ScriptMemberAttribute Constructor
ScriptMemberAttribute Constructor
ScriptMemberAttribute(ScriptAccess) Constructor
ScriptMemberAttribute(ScriptMemberFlags) Constructor
ScriptMemberAttribute(String) Constructor
ScriptMemberAttribute(ScriptAccess, ScriptMemberFlags) Constructor
ScriptMemberAttribute(String, ScriptAccess) Constructor
ScriptMemberAttribute(String, ScriptMemberFlags) Constructor
ScriptMemberAttribute(String, ScriptAccess, ScriptMemberFlags) Constructor

# ScriptMemberAttribute(String, ScriptAccess) Constructor

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.5.0
Syntax
C#
VB
C++
F#
Copy

    public ScriptMemberAttribute(
    	string name,
    	ScriptAccess access
    )

    Public Sub New (
    	name As String,
    	access As ScriptAccess
    )

    public:
    ScriptMemberAttribute(
    	String^ name,
    	ScriptAccess access
    )

    new :
            name : string *
            access : ScriptAccess -> 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.

See Also

#### Reference

ScriptMemberAttribute Class
ScriptMemberAttribute Overload
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft