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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.