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