JSObject.GetPropertyAsJSObject(String) Metodo

Definizione

Restituisce il valore della proprietà come JSObject proxy se la proprietà esiste; in caso contrario null, .

public:
 System::Runtime::InteropServices::JavaScript::JSObject ^ GetPropertyAsJSObject(System::String ^ propertyName);
public System.Runtime.InteropServices.JavaScript.JSObject? GetPropertyAsJSObject(string propertyName);
member this.GetPropertyAsJSObject : string -> System.Runtime.InteropServices.JavaScript.JSObject
Public Function GetPropertyAsJSObject (propertyName As String) As JSObject

Parametri

propertyName
String

Nome della proprietà.

Valori restituiti

Valore della proprietà con il nome specificato.

Eccezioni

Il valore della proprietà non è un oggetto JSObject.

Commenti

Questo metodo genera un'eccezione JSException quando il valore della proprietà non è un oggetto .

Si applica a

Vedi anche