Share via


ProvideSettingsManifestAttribute Class

Definition

Registers a path to a Unified Settings registration manifest file. Only one manifest file can be registered per package. By default, the manifest file is expected to be named "registration.json" and located in the package folder. This can be overridden by setting the PackageRelativeManifestFile property.

[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)]
public class ProvideSettingsManifestAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=false, Inherited=true)>]
type ProvideSettingsManifestAttribute = class
    inherit RegistrationAttribute
Public Class ProvideSettingsManifestAttribute
Inherits RegistrationAttribute
Inheritance
ProvideSettingsManifestAttribute
Attributes

Constructors

ProvideSettingsManifestAttribute()

Fields

CacheTagValue
KeyName
ManifestPathValue

Properties

PackageRelativeManifestFile

Gets the path to the settings manifest file, relative to the package folder. The path must be under the package folder. Defaults to "registration.json".

Example: "settings\registration.json"

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)
Unregister(RegistrationAttribute+RegistrationContext)

Applies to