ProvideWorkspaceSettingsAttribute Class

Definition

ProvideWorkspaceSettingsAttribute class. Registers a workspace settings file for use in OpenFolder settings.

public ref class ProvideWorkspaceSettingsAttribute : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class)]
public class ProvideWorkspaceSettingsAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Assembly | System.AttributeTargets.Class)>]
type ProvideWorkspaceSettingsAttribute = class
    inherit RegistrationAttribute
Public Class ProvideWorkspaceSettingsAttribute
Inherits RegistrationAttribute
Inheritance
ProvideWorkspaceSettingsAttribute
Attributes

Constructors

ProvideWorkspaceSettingsAttribute(String, String)

Initializes a new instance of the ProvideWorkspaceSettingsAttribute class.

Properties

RelativeSettingsJsonPath

Gets the relative path to the settings.json file that exists inside of the extension.

SettingName

Gets or sets the setting name. Defaults to a random GUID generated during the construction of the object.

SettingsType

Gets the type of settings (e.g. "VSWorkspaceSettings").

TypeId

Gets the current instance of this attribute.

(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)

Registers this VSPackage with a given context, when called by an external registration tool such as regpkg.exe. For more information, see Registering VSPackages.

Unregister(RegistrationAttribute+RegistrationContext)

Called to unregister this attribute with the given context.

Applies to