public abstract GetValue ( object obj, string name ) : object | ||
obj | object | |
name | string | |
return | object |
public abstract object GetValue(object obj, string name);
/// <summary> 设置一个类变量 </summary>
public override ScriptObject GetValue(object key) { if (!(key is string)) { throw new ExecutionException(Script, "ObjectType GetValue只支持String类型"); } return(Script.CreateObject(m_UserdataType.GetValue(null, (string)key))); }