System.TypeExtensionMethods.GetProperty C# (CSharp) Method

GetProperty() public static method

public static GetProperty ( this type, string name ) : PropertyInfo
type this
name string
return System.Reflection.PropertyInfo
        public static PropertyInfo GetProperty(this Type type, string name)
        {
            return type.GetRuntimeProperty(name);
        }
        public static IEnumerable<PropertyInfo> GetProperties(this Type type)