ProvideSettingAttribute Class

Visual Studio 2015
 

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.

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.ProvideSettingAttribute

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

NameDescription
System_CAPS_pubmethodProvideSettingAttribute(String, SettingScope, SettingStorage)

Initializes a new instance of one or more settings to be shared.

NameDescription
System_CAPS_pubpropertyName

Gets the name of the setting.

System_CAPS_pubpropertyScope

Gets the scope of the setting.

System_CAPS_pubpropertyStorage

Gets the storage of the setting.

System_CAPS_pubpropertyTypeId

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

NameDescription
System_CAPS_pubmethodEquals(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodGetHashCode()

(Inherited from Attribute.)

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDefaultAttribute()

(Inherited from Attribute.)

System_CAPS_pubmethodMatch(Object)

(Inherited from Attribute.)

System_CAPS_pubmethodRegister(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.(Overrides RegistrationAttribute.Register(RegistrationAttribute.RegistrationContext).)

System_CAPS_pubmethodToString()

(Inherited from Object.)

System_CAPS_pubmethodUnregister(RegistrationAttribute.RegistrationContext)

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: