Edit

Share via


JSImportAttribute.ModuleName Property

Definition

Gets the globally unique identifier of the ES6 module, if any, that contains the function. The module must be loaded via ImportAsync(String, String, CancellationToken) before any attempt to invoke the function.

public:
 property System::String ^ ModuleName { System::String ^ get(); };
public string? ModuleName { get; }
member this.ModuleName : string
Public ReadOnly Property ModuleName As String

Property Value

Applies to