AjScript.ObjectUtilities.GetNativeValue C# (CSharp) Méthode

GetNativeValue() public static méthode

public static GetNativeValue ( object obj, string name, object parameters ) : object
obj object
name string
parameters object
Résultat object
        public static object GetNativeValue(object obj, string name, object[] parameters)
        {
            Type type = obj.GetType();

            return type.InvokeMember(name, System.Reflection.BindingFlags.GetProperty | System.Reflection.BindingFlags.GetField | System.Reflection.BindingFlags.IgnoreCase | System.Reflection.BindingFlags.Public | System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.InvokeMethod | System.Reflection.BindingFlags.Instance, null, obj, parameters);
        }