ProvideDirectiveProcessorAttribute Constructor
Apply this attribute to the package class of a package that defines a text template directive processor.
Namespace: Microsoft.VisualStudio.TextTemplating.VSHost
Assembly: Microsoft.VisualStudio.TextTemplating.VSHost.10.0 (in Microsoft.VisualStudio.TextTemplating.VSHost.10.0.dll)
Syntax
'Declaration
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
)
Parameters
- type
Type: System.Type
The class that defines the directive processor
- name
Type: System.String
The name that is used in text templates to identify the processor.
- description
Type: System.String
Describe the applications in which the directive processor is used.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.