Share via


RequiresProvidesDirectiveProcessor.FriendlyName Property

When overridden in a derived class, gets the friendly name of the directive processor.

Namespace:  Microsoft.VisualStudio.TextTemplating
Assembly:  Microsoft.VisualStudio.TextTemplating (in Microsoft.VisualStudio.TextTemplating.dll)

Syntax

'Declaration
Protected MustOverride ReadOnly Property FriendlyName As String
'Usage
Dim value As String 

value = Me.FriendlyName
protected abstract string FriendlyName { get; }
protected:
virtual property String^ FriendlyName {
    String^ get () abstract;
}
protected abstract function get FriendlyName () : String

Property Value

Type: System.String
A String that contains the friendly name of the directive processor.

Remarks

The friendly name identifies the directive processor to the host. It is also the value that is specified in the processor parameter when a directive for this directive processor is called. For example, a call to a directive processor follows this syntax:

<#@ CoolDirectiveName Processor="FriendlyName" #>

Examples

This example gets the name of the processor. This code example is part of a larger example that is provided for the RequiresProvidesDirectiveProcessor class.

protected override string FriendlyName
{
get { return DomDirectiveProcessor.ProcessorName; }
}

.NET Framework Security

See Also

Reference

RequiresProvidesDirectiveProcessor Class

RequiresProvidesDirectiveProcessor Members

Microsoft.VisualStudio.TextTemplating Namespace