지정된 콤포넨트의 버전을 반환한다.
![]() | Script | [sVersion=]clientCaps.getComponentVersion(sID,sIDType) |
반환값 sVersion은 콤포넨트가 설치되어 있으면 그 버전번호를 반환하는 문자열이다.
버전 번호가 없으면 null을 반환한다.
이 메서드로는 Explorer 콤포넨트만을 감지할 수 있다.
다른 공급자의 콤포넨트의 인식자를 제공하면 null을 반환한다.
개체 | script | IE |
---|---|---|
clientCaps | clientCaps.getComponentVersion(sID,sIDType) | IE5(win32,unix) |
![]() | getComponentVersion 메서드⇒ | ![]() | ![]() ![]() ![]() |
getComponentVersion 메서드로 설치되어 있는 Microsoft virtual machine의 버전을 얻는다.
<HTML xmlns:IE> <HEAD> <STYLE> @media all { IE\:clientCaps {behavior:url(#default#clientCaps)}} </STYLE> </HEAD> <BODY> <IE:clientCaps id="oclientCaps" /> <SCRIPT> vmVer=oclientCaps.getComponentVersion('{08B0E5C0-4FCB-11CF-AAA5-00401C608500}','componentid'); document.write('oclientCaps.getComponentVersion("{08B0E5C0-4FCB-11CF-AAA5-00401C608500}","componentid")<BR>='+vmVer); </SCRIPT> </BODY>
![]() | getComponentVersion 메서드 | ⇒ | ![]() ![]() |
최종 수정: 04/05/2025 13:46:06 | ![]() All right reserved | 비정상적인 방식으로 프레임없이 페이지에 접속하면 자주 오류가 발생됩니다. 오류가 나면 정상적 접속으로 시도해 보세요. | http://koxo.com/lang/js/method/getComponentVersion.html |