JSObject.GetPropertyAsDouble(String) Yöntem

Tanım

Özelliğin değerini, özelliğin mevcut olduğu gibi Double döndürür, aksi takdirde 0.

public:
 double GetPropertyAsDouble(System::String ^ propertyName);
public double GetPropertyAsDouble(string propertyName);
member this.GetPropertyAsDouble : string -> double
Public Function GetPropertyAsDouble (propertyName As String) As Double

Parametreler

propertyName
String

Özelliğin adı.

Döndürülenler

Belirtilen ada sahip özelliğinin değeri.

Özel durumlar

Özellik değeri bir sayı değil.

Açıklamalar

Özellik değeri sayı JSException olmadığında bu yöntem bir oluşturur.

Şunlara uygulanır

Ayrıca bkz.