Click or drag to resize

TypesAndProperty.GetPublicProperties Method

Namespace:  EDK4Net.Utilities
Assembly:  EDK4Net (in EDK4Net.dll) Version: 3.0.7.3
Syntax
C#
public static IEnumerable<PropertyInfo> GetPublicProperties(
	this Type type,
	BindingFlags bindingFlags = BindingFlags.Instance|BindingFlags.Public|BindingFlags.FlattenHierarchy
)

Parameters

type
Type: System.Type
bindingFlags (Optional)
Type: System.Reflection.BindingFlags

Return Value

Type: IEnumerable<PropertyInfo>

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Type. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also