ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
ScriptMemberAttribute Class
ScriptMemberAttribute Properties
Flags Property
Name Property

# ScriptMemberAttributeName Property

Gets or sets the name that script code will use to access the target type member.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    public string Name { get; set; }

    Public Property Name As String
    	Get
    	Set

    public:
    property String^ Name {
    	String^ get ();
    	void set (String^ value);
    }

    member Name : string with get, set

#### Property Value

String
Remarks
The default value is the name of the target type member. Note that this property has no effect on the method binding algorithm. If a script-based call is bound to a method that is exposed under a different name, it will be rejected even if an overload exists that could receive the call.
See Also

#### Reference

ScriptMemberAttribute Class
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft