ProvideSettingAttribute 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
| ProvideSettingAttribute(String, SettingScope, SettingStorage) |
初始化要共享的一个或多个设置的新实例。 |
| ProvideSettingAttribute(String, SettingScope, SettingStorage, String, String, String, String, String) |
ProvideSettingAttribute(String, SettingScope, SettingStorage)
初始化要共享的一个或多个设置的新实例。
public:
ProvideSettingAttribute(System::String ^ name, Microsoft::VisualStudio::Shell::SettingScope scope, Microsoft::VisualStudio::Shell::SettingStorage storage);
public:
ProvideSettingAttribute(Platform::String ^ name, Microsoft::VisualStudio::Shell::SettingScope scope, Microsoft::VisualStudio::Shell::SettingStorage storage);
ProvideSettingAttribute(std::wstring const & name, Microsoft::VisualStudio::Shell::SettingScope scope, Microsoft::VisualStudio::Shell::SettingStorage storage);
public ProvideSettingAttribute (string name, Microsoft.VisualStudio.Shell.SettingScope scope, Microsoft.VisualStudio.Shell.SettingStorage storage);
new Microsoft.VisualStudio.Shell.ProvideSettingAttribute : string * Microsoft.VisualStudio.Shell.SettingScope * Microsoft.VisualStudio.Shell.SettingStorage -> Microsoft.VisualStudio.Shell.ProvideSettingAttribute
Public Sub New (name As String, scope As SettingScope, storage As SettingStorage)
参数
- name
- String
设置名称。 支持通配符,如 MyCompany. MyFeature. *
- scope
- SettingScope
范围。
- storage
- SettingStorage
存储。
适用于
ProvideSettingAttribute(String, SettingScope, SettingStorage, String, String, String, String, String)
public:
ProvideSettingAttribute(System::String ^ name, Microsoft::VisualStudio::Shell::SettingScope scope, Microsoft::VisualStudio::Shell::SettingStorage storage, System::String ^ packageGuid, System::String ^ nameResourceId, System::String ^ descriptionResourceId, System::String ^ searchKeywordsResourceId, System::String ^ jsonSchemaResourceId);
public ProvideSettingAttribute (string name, Microsoft.VisualStudio.Shell.SettingScope scope, Microsoft.VisualStudio.Shell.SettingStorage storage, string packageGuid, string nameResourceId, string descriptionResourceId, string searchKeywordsResourceId, string jsonSchemaResourceId);
new Microsoft.VisualStudio.Shell.ProvideSettingAttribute : string * Microsoft.VisualStudio.Shell.SettingScope * Microsoft.VisualStudio.Shell.SettingStorage * string * string * string * string * string -> Microsoft.VisualStudio.Shell.ProvideSettingAttribute
Public Sub New (name As String, scope As SettingScope, storage As SettingStorage, packageGuid As String, nameResourceId As String, descriptionResourceId As String, searchKeywordsResourceId As String, jsonSchemaResourceId As String)
参数
- name
- String
- scope
- SettingScope
- storage
- SettingStorage
- packageGuid
- String
- nameResourceId
- String
- descriptionResourceId
- String
- searchKeywordsResourceId
- String
- jsonSchemaResourceId
- String