Share via


ProvideWorkspaceSettingsAttribute 클래스

정의

ProvideWorkspaceSettingsAttribute 클래스. OpenFolder 설정에서 사용할 작업 영역 설정 파일을 등록합니다.

public ref class ProvideWorkspaceSettingsAttribute : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class)]
public class ProvideWorkspaceSettingsAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class)>]
type ProvideWorkspaceSettingsAttribute = class
    inherit RegistrationAttribute
Public Class ProvideWorkspaceSettingsAttribute
Inherits RegistrationAttribute
상속
ProvideWorkspaceSettingsAttribute
특성

생성자

ProvideWorkspaceSettingsAttribute(String, String)

ProvideWorkspaceSettingsAttribute 클래스의 새 인스턴스를 초기화합니다.

속성

RelativeSettingsJsonPath

확장명 내에 있는 settings.json 파일의 상대 경로를 가져옵니다.

SettingName

설정 이름을 가져오거나 설정합니다. 기본값은 개체를 생성하는 동안 생성된 임의 GUID입니다.

SettingsType

설정 유형(예: "VSWorkspaceSettings")을 가져옵니다.

TypeId

RegistrationAttribute 파생 클래스가 System.ComponentModel.TypeDescriptor.GetAttributes(...)와 함께 작동하도록 하려면 TypeID 속성을 재정의합니다. 이 속성에서 파생된 특성은 클래스에 적용할 수 있는 인스턴스에 대한 더 나은 제어가 필요한 경우에만 이 속성을 재정의해야 합니다.

(다음에서 상속됨 RegistrationAttribute)

메서드

GetPackageRegKeyPath(Guid)

VSPackage의 레지스트리 경로(애플리케이션의 레지스트리 루트를 기준으로)를 가져옵니다.

(다음에서 상속됨 RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)

regpkg.exe 같은 외부 등록 도구에서 호출할 때 지정된 컨텍스트에 이 VSPackage를 등록합니다. 자세한 내용은 VSPackage 등록을 참조하세요.

Unregister(RegistrationAttribute+RegistrationContext)

지정된 컨텍스트에서 이 특성의 등록을 취소하기 위해 호출됩니다.

적용 대상