예제 #1
0
        public static T GetDynamicPropertyValue <T>(Microsoft.Office.Interop.Access.Properties properties, string propertyName)
        {
            var value = properties[propertyName].Value;

            return((T)Convert.ChangeType(value, typeof(T)));
        }
 public AccessDynamicPropertyCollectionModel(Microsoft.Office.Interop.Access.Properties properties) : this(properties.OfType <dynamic>())
 {
 }