ProvideRelatedFileAttribute Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Important
This API is not CLS-compliant.
Attribute class to provide the registry entries for asking the shell to manage the relationship between a nested file and its parent in the solution explorer
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
- Inheritance
- Attributes
Constructors
ProvideRelatedFileAttribute(String, String) |
Create a new ProvideRelatedFile attribute |
Fields
CSharpProjectGuid |
Guid of the C# Project System |
VisualBasicProjectGuid |
Guid of the Visual Basic Project System |
Properties
ChildExtension |
The extension of the child file |
FileOptions |
Options for how the related file is managed |
ParentExtension |
The extension of the parent file |
ProjectSystem |
The project system that this code generator is registered with |
TypeId |
Override the TypeID property in order to let the RegistrationAttribute derived classes to work with System.ComponentModel.TypeDescriptor.GetAttributes(...). An attribute derived from this one will have to override this property only if it needs a better control on the instances that can be applied to a class. (Inherited from RegistrationAttribute) |
Methods
GetPackageRegKeyPath(Guid) |
Gets the registry path (relative to the registry root of the application) of the VSPackage. (Inherited from RegistrationAttribute) |
Register(RegistrationAttribute+RegistrationContext) |
Register a new command line switch |
Unregister(RegistrationAttribute+RegistrationContext) |
Unregister a command-line switch |