다음을 통해 공유


ProvideRelatedFileAttribute 클래스

정의

중요

이 API는 CLS 규격이 아닙니다.

솔루션 탐색기에서 중첩된 파일과 부모 간의 관계를 관리하도록 셸에 요청하기 위한 레지스트리 항목을 제공하는 특성 클래스

public ref class ProvideRelatedFileAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
[System.CLSCompliant(false)]
public sealed class ProvideRelatedFileAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)]
public sealed class ProvideRelatedFileAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
[<System.CLSCompliant(false)>]
type ProvideRelatedFileAttribute = class
    inherit RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true)>]
type ProvideRelatedFileAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class ProvideRelatedFileAttribute
Inherits RegistrationAttribute
상속
ProvideRelatedFileAttribute
특성

생성자

ProvideRelatedFileAttribute(String, String)

새 ProvideRelatedFile 특성 Create

필드

CSharpProjectGuid

C# 프로젝트 시스템의 Guid

VisualBasicProjectGuid

Visual Basic 프로젝트 시스템의 Guid

속성

ChildExtension

자식 파일의 확장명입니다.

FileOptions

관련 파일을 관리하는 방법에 대한 옵션

ParentExtension

부모 파일의 확장명입니다.

ProjectSystem

이 코드 생성기가 등록된 프로젝트 시스템

TypeId

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

(다음에서 상속됨 RegistrationAttribute)

메서드

GetPackageRegKeyPath(Guid)

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

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

새 명령줄 스위치 등록

Unregister(RegistrationAttribute+RegistrationContext)

명령줄 스위치 등록 취소

적용 대상