C# Класс RIM.VSNDK_Package.EditorFactoryNotifyForProjectAttribute

Наследование: Microsoft.VisualStudio.Shell.RegistrationAttribute
Показать файл Открыть проект

Private Properties

Свойство Тип Описание

Открытые методы

Метод Описание
EditorFactoryNotifyForProjectAttribute ( object projectType, string fileExtension, object factoryType ) : System

Creates a new ProvideEditorFactoryNotifyForProject attribute to register a file extension with a project.

Register ( RegistrationContext context ) : void

Called to register this attribute with the given context. The context contains the location where the registration information should be placed. It also contains other information such as the type being registered and path information.

Unregister ( RegistrationContext context ) : void

Unregister this file extension.

Описание методов

EditorFactoryNotifyForProjectAttribute() публичный Метод

Creates a new ProvideEditorFactoryNotifyForProject attribute to register a file extension with a project.
public EditorFactoryNotifyForProjectAttribute ( object projectType, string fileExtension, object factoryType ) : System
projectType object The type of project; can be a Type, a GUID or a string representation of a GUID
fileExtension string The file extension the EditorFactoryNotify wants to handle
factoryType object The type of factory; can be a Type, a GUID or a string representation of a GUID
Результат System

Register() публичный Метод

Called to register this attribute with the given context. The context contains the location where the registration information should be placed. It also contains other information such as the type being registered and path information.
public Register ( RegistrationContext context ) : void
context RegistrationContext Given context to register in
Результат void

Unregister() публичный Метод

Unregister this file extension.
public Unregister ( RegistrationContext context ) : void
context RegistrationContext Given context to unregister from
Результат void