Microsoft.JScript.LateBinding.GetValue C# (CSharp) Method

GetValue() private method

private GetValue ( ) : Object
return Object
      internal Object GetValue(){
        this.BindToMember(); //Do a GetMember call and remember the result of the lookup for next time around
        return LateBinding.GetMemberValue(this.obj, this.name, this.last_member, this.last_members);
      }

Usage Example

Esempio n. 1
0
 internal static Object GetMemberValue2(Object obj, String name){
   if (obj is ScriptObject)
     return ((ScriptObject)obj).GetMemberValue(name);
   //Create a LateBinding instance so that we can reuse the ugly logic in BindToMember to get the members.
   LateBinding lb = new LateBinding(name, obj);
   return lb.GetValue();
 }
All Usage Examples Of Microsoft.JScript.LateBinding::GetValue