다음을 통해 공유


IVsExtensionManager.TryGetInstalledExtension 메서드

확장 식별자 (ID)를 사용 하 여 설치 된 확장에 대 한 쿼리.

네임스페이스:  Microsoft.VisualStudio.ExtensionManager
어셈블리:  Microsoft.VisualStudio.ExtensionManager(Microsoft.VisualStudio.ExtensionManager.dll)

구문

‘선언
Function TryGetInstalledExtension ( _
    identifier As String, _
    <OutAttribute> ByRef result As IInstalledExtension _
) As Boolean
bool TryGetInstalledExtension(
    string identifier,
    out IInstalledExtension result
)
bool TryGetInstalledExtension(
    String^ identifier, 
    [OutAttribute] IInstalledExtension^% result
)
abstract TryGetInstalledExtension : 
        identifier:string * 
        result:IInstalledExtension byref -> bool
function TryGetInstalledExtension(
    identifier : String, 
    result : IInstalledExtension
) : boolean

매개 변수

  • identifier
    형식: String

    확장의 고유한 식별자입니다.

반환 값

형식: Boolean
True 확장 설치 되어 있는 경우. 그렇지 않으면 false.

설명

이 API를 지원 하기는 하지만 확장 관리자 인프라를 좋습니다 변경 될 수 있으므로 사용 하지 않는 것입니다.

.NET Framework 보안

참고 항목

참조

IVsExtensionManager 인터페이스

Microsoft.VisualStudio.ExtensionManager 네임스페이스