TemplateReplace Method |
Name | Description | |
---|---|---|
Replace(NameValueCollection) |
Replaces the named tags in the document with the values in the NameValueCollection.
Note that this overload does not support embedded function resolution.
Use the Replace(IAppContext, NameValueCollection, ContentResolution, TemplateReplaceFlags) overload
if embedded function resolution is desired.
| |
Replace(NameValueCollection, ContentResolution) |
Replaces the named tags in the document with the values in the NameValueCollection.
Note that this overload does not support embedded function resolution.
Use the Replace(IAppContext, NameValueCollection, ContentResolution, TemplateReplaceFlags) overload
if embedded function resolution is desired.
| |
Replace(NameValueCollection, ContentResolution, TemplateReplaceFlags) |
Replaces the named tags in the document with the values in the NameValueCollection.
Note that this overload does not support embedded function resolution.
Use the Replace(IAppContext, NameValueCollection, ContentResolution, TemplateReplaceFlags) overload
if embedded function resolution is desired.
| |
Replace(IAppContext, NameValueCollection, ContentResolution, TemplateReplaceFlags) |
Replaces the named tags in the document with the values in the NameValueCollection.
Note that this overload does support embedded function resolution using EmbeddedParser.
Replace expands the template body using only the values in nameValues. To get the expanded body use GetExpandedBody(IAppContext, NameValueCollection, ContentResolution) or Expand(IAppContext, NameValueCollection, ContentResolution, String, String, String). These methods provide additional functionality as described in Expand(IAppContext, NameValueCollection, ContentResolution, String, String, String). |