RegisterProjectItemAttribute Класс

Определение

Внимание!

RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead.

RegisterProjectItemAttribute не рекомендуется к использованию. Взамен рекомендуется использовать ProvideProjectItemAttribute.

public ref class RegisterProjectItemAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
public ref class RegisterProjectItemAttribute sealed : Microsoft::VisualStudio::Shell::RegistrationAttribute
[System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)]
[System.Obsolete("RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead.")]
public sealed class RegisterProjectItemAttribute : Microsoft.VisualStudio.Shell.RegistrationAttribute
[<System.AttributeUsage(System.AttributeTargets.Class, AllowMultiple=true, Inherited=true)>]
[<System.Obsolete("RegisterProjectItemAttribute has been deprecated. Please use ProvideProjectItemAttribute instead.")>]
type RegisterProjectItemAttribute = class
    inherit RegistrationAttribute
Public NotInheritable Class RegisterProjectItemAttribute
Inherits RegistrationAttribute
Наследование
RegisterProjectItemAttribute
Атрибуты

Конструкторы

RegisterProjectItemAttribute(Object, String, String, Int32)
Устаревшие..

Инициализирует новый экземпляр RegisterProjectItemAttribute.

Свойства

ItemType
Устаревшие..

Строка, описывающая тип элемента. Эта строка используется в качестве папки в левой части диалогового окна "Добавление новых элементов".

Priority
Устаревшие..

Получает приоритет сортировки данного типа.

ProjectFactoryType
Устаревшие..

Получает идентификатор GUID типа фабрики проектов.

TemplateDir
Устаревшие..

Получает каталог, в котором находятся шаблоны для данного типа проекта.

TypeId
Устаревшие..

Переопределите свойство TypeID, чтобы разрешить производным классам RegistrationAttribute работать с System.ComponentModel.TypeDescriptor.GetAttributes(...). Атрибут, производный от этого, должен переопределять это свойство только в том случае, если ему требуется более эффективное управление экземплярами, которые можно применить к классу.

(Унаследовано от RegistrationAttribute)

Методы

GetPackageRegKeyPath(Guid)
Устаревшие..

Получает путь в реестре (относительно корня реестра приложения) VSPackage.

(Унаследовано от RegistrationAttribute)
Register(RegistrationAttribute+RegistrationContext)
Устаревшие..

Регистрирует данный тип элемента.

Unregister(RegistrationAttribute+RegistrationContext)
Устаревшие..

Отмените регистрацию этого редактора.

Применяется к