System.TypeExtensionMethods.GetProperty C# (CSharp) Метод

GetProperty() публичный статический Метод

public static GetProperty ( this type, string name ) : PropertyInfo
type this
name string
Результат System.Reflection.PropertyInfo
        public static PropertyInfo GetProperty(this Type type, string name)
        {
            return type.GetRuntimeProperty(name);
        }
        public static IEnumerable<PropertyInfo> GetProperties(this Type type)