Functions.IsAssign 方法 |
命名空间: XSharp.RT
FUNCTION IsAssign( oObject AS Object, symAssign AS STRING ) AS LOGIC
public static bool IsAssign( Object oObject, string symAssign )
1CLASS MyClass 2 EXPORT x 3ASSIGN y(a) CLASS MyClass 4FUNCTION Start() 5 LOCAL o AS MyClass 6 o := MyClass{} 7?IsAssign(o,#x) // FALSE 8?IsAssign(o,#y) // TRUE