JSInvokableAttribute Constructors

Definition

Overloads

JSInvokableAttribute()

Constructs an instance of JSInvokableAttribute without setting an identifier for the method.

JSInvokableAttribute(String)

Constructs an instance of JSInvokableAttribute using the specified identifier.

JSInvokableAttribute()

Source:
JSInvokableAttribute.cs
Source:
JSInvokableAttribute.cs
Source:
JSInvokableAttribute.cs
Source:
JSInvokableAttribute.cs
Source:
JSInvokableAttribute.cs
Source:
JSInvokableAttribute.cs

Constructs an instance of JSInvokableAttribute without setting an identifier for the method.

public:
 JSInvokableAttribute();
public JSInvokableAttribute ();
Public Sub New ()

Applies to

JSInvokableAttribute(String)

Source:
JSInvokableAttribute.cs
Source:
JSInvokableAttribute.cs
Source:
JSInvokableAttribute.cs
Source:
JSInvokableAttribute.cs
Source:
JSInvokableAttribute.cs
Source:
JSInvokableAttribute.cs

Constructs an instance of JSInvokableAttribute using the specified identifier.

public:
 JSInvokableAttribute(System::String ^ identifier);
public JSInvokableAttribute (string identifier);
new Microsoft.JSInterop.JSInvokableAttribute : string -> Microsoft.JSInterop.JSInvokableAttribute
Public Sub New (identifier As String)

Parameters

identifier
String

An identifier for the method, which must be unique within the scope of the assembly.

Applies to