Finds the specified alias.

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
public ActiveSnippetMapping Find(
	string alias,
	string targetExtension
)
Visual Basic
Public Function Find ( 
	alias As String,
	targetExtension As String
) As ActiveSnippetMapping

Parameters

alias
Type: System..::..String
The alias.
targetExtension
Type: System..::..String
The target extension.

Return Value

Type: ActiveSnippetMapping
The ActiveSnippetMapping instance that match closest to the alias, extension pair.

See Also