Share via


JSObject.GetPropertyAsByteArray(String) 메서드

정의

속성이 있으면 지정된 속성의 값을 배열로 Byte 반환하고, 그렇지 않으면 null을 반환합니다.

public:
 cli::array <System::Byte> ^ GetPropertyAsByteArray(System::String ^ propertyName);
public byte[]? GetPropertyAsByteArray (string propertyName);
member this.GetPropertyAsByteArray : string -> byte[]
Public Function GetPropertyAsByteArray (propertyName As String) As Byte()

매개 변수

propertyName
String

속성의 이름입니다.

반환

Byte[]

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

예외

속성 값이 배열이 아닙니다.

설명

속성 값이 배열이 JSException 아닌 경우 이 메서드는 을 throw합니다.

적용 대상