| AkObjectFormatString Method (String, Boolean) |
处理含有属性标记的表达式、使用相应的属性值替换属性标记。
Namespace: Appkit.DataAssembly: Appkit (in Appkit.dll) Version: 2.0.0.0 (2.0.0.0)
Syntaxpublic string FormatString(
string express,
bool strict
)
Parameters
- express
- Type: SystemString
含有属性标记的表达式。 - strict
- Type: SystemBoolean
是否严格模式,如果为true则仅处理[typeName.propName]或[this.propName]格式的属性标记。
Return Value
Type:
String处理之后的内容。
See Also