SolutionPersistenceRegistrationAttribute SolutionPersistenceRegistrationAttribute SolutionPersistenceRegistrationAttribute SolutionPersistenceRegistrationAttribute SolutionPersistenceRegistrationAttribute Class

Definition

Adds a solution persistence property name and related GUID.

public ref class SolutionPersistenceRegistrationAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class SolutionPersistenceRegistrationAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
public sealed class SolutionPersistenceRegistrationAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
type SolutionPersistenceRegistrationAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class SolutionPersistenceRegistrationAttribute
Inherits RegistrationAttribute
Inheritance
SolutionPersistenceRegistrationAttributeSolutionPersistenceRegistrationAttributeSolutionPersistenceRegistrationAttributeSolutionPersistenceRegistrationAttributeSolutionPersistenceRegistrationAttribute
Attributes

Remarks

For example:

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\9.0Exp\SolutionPersistence\MyProperty]

"Default"="{AAAA53CC-3D4F-40a2-BD4D-4F3419755476}"

Constructors

SolutionPersistenceRegistrationAttribute(String) SolutionPersistenceRegistrationAttribute(String) SolutionPersistenceRegistrationAttribute(String) SolutionPersistenceRegistrationAttribute(String) SolutionPersistenceRegistrationAttribute(String)

Initializes a new instance of the SolutionPersistenceRegistrationAttribute class to register a solution persistence attribute for the provided property.

Properties

PropName PropName PropName PropName PropName

Gets the property name.

TypeId TypeId TypeId TypeId TypeId

Gets the current instance of this attribute.

(Inherited from RegistrationAttribute)

Methods

GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid) GetPackageRegKeyPath(Guid)

Gets the registry path (relative to the registry root of the application) of the VSPackage.

(Inherited from RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext) Register(RegistrationAttribute+RegistrationContext)

Registers this attribute with the given context.

Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext) Unregister(RegistrationAttribute+RegistrationContext)

Unregisters this property.

Applies to