IFilterTokenValues.FilterReplacementTokens Method
Specifies the filtering logic to run when a project or item is instantiated from a template.
Namespace: Microsoft.VisualStudio.TemplateWizard
Assembly: Microsoft.VisualStudio.TemplateWizardInterface (in Microsoft.VisualStudio.TemplateWizardInterface.dll)
Syntax
'Declaration
Sub FilterReplacementTokens ( _
projectFileExtension As String, _
projectItemFileExtension As String, _
replacementValues As Dictionary(Of String, String) _
)
void FilterReplacementTokens(
string projectFileExtension,
string projectItemFileExtension,
Dictionary<string, string> replacementValues
)
void FilterReplacementTokens(
String^ projectFileExtension,
String^ projectItemFileExtension,
Dictionary<String^, String^>^ replacementValues
)
abstract FilterReplacementTokens :
projectFileExtension:string *
projectItemFileExtension:string *
replacementValues:Dictionary<string, string> -> unit
function FilterReplacementTokens(
projectFileExtension : String,
projectItemFileExtension : String,
replacementValues : Dictionary<String, String>
)
Parameters
projectFileExtension
Type: System.StringThe file name extenstion of the project file.
projectItemFileExtension
Type: System.StringThe file name extension of the item.
replacementValues
Type: System.Collections.Generic.Dictionary<String, String>The keys and values to use during parameter replacement.
.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.