Class NSPreviewsAgent
Gets preview strings from a hint.
Examples
NSPreviewsAgent agent;
agent.callMethod(arg1, arg2);
Constructors
NSPreviewsAgent()
Declaration
NSPreviewsAgent Examples
NSPreviewsAgent agent;
agent.callMethod(arg1, arg2);
Methods
GetPreview(String)
Parses a Preview hint and return a Preview.The returned Preview string may contain resource string identifiers (in square brackets), to be processed by the resource manager.
The Preview hint is either a literal text, representing itself or a set of key/value pairs enclosed in curly braces. Each key is separated from its value by an equals sign, and each pair from the next by an ampersand, according to usual conventions.Declaration
String GetPreview(String previewHint) Parameters
| Type | Name | Description |
| String | previewHint |
Returns
| Type | Description |
| String |