Export (0) Print
Expand All
0 out of 1 rated this helpful - Rate this topic

Class Feature Syntax

Updated: July 2008

You can use the class feature blocks in your text templates to add helper functions. Helper functions let you avoid repeating common code. The general syntax is as follows.

<#+ FeatureCode #>

The following code example shows how to use the class feature.

<#+
private string FixWhiteSpaces(string s)
{
    return(Regex.Replace(s," ","").ToString());
}
#>

Date

History

Reason

July 2008

Rewrote and refactored project.

Content bug fix.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.