PipelineStoreLocation 열거형

정의

디렉터리 경로를 대신하여 파이프라인 저장소의 대체 위치를 지정합니다.

public enum class PipelineStoreLocation
[System.Serializable]
public enum PipelineStoreLocation
[<System.Serializable>]
type PipelineStoreLocation = 
Public Enum PipelineStoreLocation
상속
PipelineStoreLocation
특성

필드

ApplicationBase 0

애플리케이션 도메인의 호스트를 설정하기 위해 ApplicationBase 속성에 의해 지정된 위치입니다.

예제

다음 예제에서는 호스트 애플리케이션의 디렉터리에 있는 파이프라인 저장소 파일에서 추가 기능 활성화 하려면 ApplicationBase 값을 사용 합니다.

// Search for add-ins of type Calculator (the host view of the add-in)
// specifying the host's application base, instead of a path,
// for the FindAddIns method.

Collection<AddInToken> tokens =
            AddInStore.FindAddIns(typeof(Calculator), PipelineStoreLocation.ApplicationBase);
' Search for add-ins of type Calculator (the host view of the add-in)
' specifying the host's application base, instead of a path,
' for the FindAddIns method.
Dim tokens As Collection(Of AddInToken) = _
    AddInStore.FindAddIns(GetType(Calculator), PipelineStoreLocation.ApplicationBase)

설명

이 열거형에는 현재 ApplicationBase 값만 포함합니다.

메서드는 AddInStore 이 열거형을 사용 하는 클래스는 부분적으로 신뢰할 수 있는 호스트의 경우는 자신의 위치를 검색할 수 있는 권한이 없을를 찾고 해당 디렉터리에서 사용할 수 있는 추가 기능 활성화를 사용 합니다.

사용할 수 있습니다는 AddInStore.Update(PipelineStoreLocation) 하 고 AddInStore.Rebuild(PipelineStoreLocation) 메서드 오버 로드는 파이프라인 저장소 다시 구성 및 업데이트에 대 한 위치를 지정 하려면 및 AddInStore.FindAddIns(Type, PipelineStoreLocation, String[]) 메서드 오버 로드를 추가 기능 찾기에 대 한 위치를 지정 합니다.

적용 대상