ProvideRelatedFileAttribute 클래스

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

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

상속 계층 구조

System.Object
  System.Attribute
    Microsoft.VisualStudio.Shell.RegistrationAttribute
      Microsoft.VisualStudio.Modeling.Shell.ProvideRelatedFileAttribute

네임스페이스:  Microsoft.VisualStudio.Modeling.Shell
어셈블리:  Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0(Microsoft.VisualStudio.Modeling.Sdk.Shell.11.0.dll)

구문

‘선언
<CLSCompliantAttribute(False)> _
<AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple := True)> _
Public NotInheritable Class ProvideRelatedFileAttribute _
    Inherits RegistrationAttribute
[CLSCompliantAttribute(false)]
[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true)]
public sealed class ProvideRelatedFileAttribute : RegistrationAttribute

ProvideRelatedFileAttribute 형식에서는 다음과 같은 멤버를 노출합니다.

생성자

  이름 설명
Public 메서드 ProvideRelatedFileAttribute 새 ProvideRelatedFile 특성을 만듭니다.

위쪽

속성

  이름 설명
Public 속성 ChildExtension 자식 파일의 확장명은
Public 속성 FileOptions 관련된 파일 관리 하는 방법에 대 한 옵션
Public 속성 ParentExtension 상위 파일의 확장
Public 속성 ProjectSystem 이 코드 생성기가 등록된 프로젝트 시스템입니다.
Public 속성 TypeId (RegistrationAttribute에서 상속됨)

위쪽

메서드

  이름 설명
Public 메서드 Equals 인프라입니다. 이 인스턴스가 지정된 개체와 같은지 여부를 나타내는 값을 반환합니다. (Attribute에서 상속됨)
Public 메서드 GetHashCode 해당 인스턴스에 대한 해시 코드를 반환합니다. (Attribute에서 상속됨)
Public 메서드 GetType 현재 인스턴스의 Type을 가져옵니다. (Object에서 상속됨)
Public 메서드 IsDefaultAttribute 파생 클래스에서 재정의된 경우 이 인스턴스의 값이 파생 클래스의 기본값인지 여부를 나타냅니다. (Attribute에서 상속됨)
Public 메서드 Match 파생 클래스에서 재정의된 경우 이 인스턴스가 지정된 개체와 같은지 여부를 나타내는 값을 반환합니다. (Attribute에서 상속됨)
Public 메서드 Register 새 명령줄 스위치를 등록 합니다. (RegistrationAttribute.Register(RegistrationAttribute.RegistrationContext)을(를) 재정의함)
Public 메서드 ToString 현재 개체를 나타내는 문자열을 반환합니다. (Object에서 상속됨)
Public 메서드 Unregister 명령줄 스위치의 등록을 취소합니다 (RegistrationAttribute.Unregister(RegistrationAttribute.RegistrationContext)을(를) 재정의함)

위쪽

필드

  이름 설명
Public 필드정적 멤버 CSharpProjectGuid C# 프로젝트 시스템의 Guid
Public 필드정적 멤버 VisualBasicProjectGuid Visual Basic 프로젝트 시스템의 Guid

위쪽

명시적 인터페이스 구현

  이름 설명
명시적 인터페이스 구현Private 메서드 _Attribute.GetIDsOfNames 이름 집합을 해당하는 디스패치 식별자 집합에 매핑합니다. (Attribute에서 상속됨)
명시적 인터페이스 구현Private 메서드 _Attribute.GetTypeInfo 인터페이스의 형식 정보를 가져오는 데 사용할 수 있는 개체의 형식 정보를 검색합니다. (Attribute에서 상속됨)
명시적 인터페이스 구현Private 메서드 _Attribute.GetTypeInfoCount 개체에서 제공하는 형식 정보 인터페이스의 수를 검색합니다(0 또는 1). (Attribute에서 상속됨)
명시적 인터페이스 구현Private 메서드 _Attribute.Invoke 개체에서 노출하는 메서드와 속성에 대한 액세스를 제공합니다. (Attribute에서 상속됨)

위쪽

스레드로부터의 안전성

이 형식의 모든 공용 static(Visual Basic의 경우 Shared) 멤버는 스레드로부터 안전합니다. 인터페이스 멤버는 스레드로부터 안전하지 않습니다.

참고 항목

참조

Microsoft.VisualStudio.Modeling.Shell 네임스페이스