ProvideSettingAttribute ProvideSettingAttribute ProvideSettingAttribute ProvideSettingAttribute ProvideSettingAttribute Class

Definition

Registers settings owned by a package. All registered settings must be persisted via SVsSettingsPersistenceManager. Settings that are persisted using SVsSettingsPersistenceManager but not registered will be private by default.

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

Constructors

ProvideSettingAttribute(String, SettingScope, SettingStorage) ProvideSettingAttribute(String, SettingScope, SettingStorage) ProvideSettingAttribute(String, SettingScope, SettingStorage) ProvideSettingAttribute(String, SettingScope, SettingStorage) ProvideSettingAttribute(String, SettingScope, SettingStorage)

Declares one or more settings to be shared.

Properties

Name Name Name Name Name

Gets the name of the setting.

Scope Scope Scope Scope Scope

Gets the scope of the setting.

Storage Storage Storage Storage Storage

Gets the storage of the setting.

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)

Called to register this attribute with the given context. The context contains the location where the registration information should be placed. it also contains such as the type being registered, and path information.

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

Unregister this attribute

Applies to