Performs token replacement for a string, using the same algorithm used for URL-valued properties.
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
The Web Part architecture provides token replacement for Web Part base class properties that are defined as URLs, which include the HelpLink, DetailLink, PartImageLarge, and PartImageSmall properties. When a Web Part is rendered, values of these properties are scanned for the tokens listed in the following table, and those tokens are replaced with the values described in the following table. The Web Part property value itself is not changed.