TypeExtensions.GetProperties Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
GetProperties(Type) | |
GetProperties(Type, BindingFlags) |
GetProperties(Type)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static cli::array <System::Reflection::PropertyInfo ^> ^ GetProperties(Type ^ type);
public static System.Reflection.PropertyInfo[] GetProperties (this Type type);
static member GetProperties : Type -> System.Reflection.PropertyInfo[]
<Extension()>
Public Function GetProperties (type As Type) As PropertyInfo()
Parameters
- type
- Type
Returns
Applies to
GetProperties(Type, BindingFlags)
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
static cli::array <System::Reflection::PropertyInfo ^> ^ GetProperties(Type ^ type, System::Reflection::BindingFlags bindingAttr);
public static System.Reflection.PropertyInfo[] GetProperties (Type type, System.Reflection.BindingFlags bindingAttr);
static member GetProperties : Type * System.Reflection.BindingFlags -> System.Reflection.PropertyInfo[]
Public Shared Function GetProperties (type As Type, bindingAttr As BindingFlags) As PropertyInfo()
Parameters
- type
- Type
- bindingAttr
- BindingFlags
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.