JSExportAttribute.Name property
Gets the name of item as exported to JavaScript, or null if the JavaScript name is auto-generated. By default, type names are unchanged while member names are camel-cased for JavaScript.
C#
public string? Name { get; }
Remarks
Names must be unique among a module's exports. Duplicates will result in a build error.
Use the name "default" to create a default export.
See Also
- class JSExportAttribute
- namespace Microsoft.JavaScript.NodeApi