JSObject.GetPropertyAsString(String) 메서드

정의

속성이 있는 것처럼 String 속성 값을 반환하고, 그렇지 않으면 null반환합니다.

public:
 System::String ^ GetPropertyAsString(System::String ^ propertyName);
public string? GetPropertyAsString(string propertyName);
member this.GetPropertyAsString : string -> string
Public Function GetPropertyAsString (propertyName As String) As String

매개 변수

propertyName
String

속성의 이름입니다.

반품

지정된 이름을 가진 속성의 값입니다.

예외

속성 값이 문자열이 아닙니다.

설명

이 메서드는 JSException 속성 값이 문자열이 아닌 경우를 throw합니다.

적용 대상

추가 정보