JsNameAttribute Class
Sets the JavaScript name of a member of a class marked with JsExportAttribute, instead of its camelCase name.
[AttributeUsage(AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple = false, Inherited = false)]
public sealed class JsNameAttribute : Attribute- Inheritance
AttributeJsNameAttribute
Constructors
| Name | Description |
|---|---|
| JsNameAttribute(string) | Sets the JavaScript name of a member of a class marked with JsExportAttribute, instead of its camelCase name. |
JsNameAttribute(string)
JsExportAttributes.csSets the JavaScript name of a member of a class marked with JsExportAttribute, instead of its camelCase name.
public JsNameAttribute(string name)Parameters
namestring- The JavaScript name of the member.
Properties
| Name | Description |
|---|---|
| Name | Gets the JavaScript name of the member. |