Поделиться через


ProvideDirectiveProcessorAttribute - конструктор

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

Пространство имен:  Microsoft.VisualStudio.TextTemplating.VSHost
Сборка:  Microsoft.VisualStudio.TextTemplating.VSHost.10.0 (в Microsoft.VisualStudio.TextTemplating.VSHost.10.0.dll)

Синтаксис

'Декларация
Public Sub New ( _
    type As Type, _
    name As String, _
    description As String _
)
public ProvideDirectiveProcessorAttribute(
    Type type,
    string name,
    string description
)
public:
ProvideDirectiveProcessorAttribute(
    Type^ type, 
    String^ name, 
    String^ description
)
new : 
        type:Type * 
        name:string * 
        description:string -> ProvideDirectiveProcessorAttribute
public function ProvideDirectiveProcessorAttribute(
    type : Type, 
    name : String, 
    description : String
)

Параметры

  • type
    Тип: System.Type
    Класс, определяющий процессор директив.
  • name
    Тип: System.String
    Имя, используемое в текстовых шаблонах для идентификации обработчика.
  • description
    Тип: System.String
    Описывает приложения, в которых используется процессор директив.

Безопасность платформы .NET Framework

См. также

Ссылки

ProvideDirectiveProcessorAttribute Класс

Microsoft.VisualStudio.TextTemplating.VSHost - пространство имен