SolutionPersistenceRegistrationAttribute Class

 

Adds a solution persistence property name and related GUID.

Namespace:   Microsoft.VisualStudio.Shell
Assembly:  Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)

System.Object
  System.Attribute
    Microsoft.VisualStudio.Shell.RegistrationAttribute
      Microsoft.VisualStudio.Shell.SolutionPersistenceRegistrationAttribute

[AttributeUsageAttribute(AttributeTargets.Class, AllowMultiple = true, 
	Inherited = true)]
public sealed class SolutionPersistenceRegistrationAttribute : RegistrationAttribute

NameDescription
System_CAPS_pubmethodSolutionPersistenceRegistrationAttribute(String)

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

NameDescription
System_CAPS_pubpropertyPropName

Gets the property name.

System_CAPS_pubpropertyTypeId

Gets the current instance of this attribute.(Inherited from RegistrationAttribute.)

For example:

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

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: