TypeExtensions.GetMembers Método
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
static cli::array <System::Reflection::MemberInfo ^> ^ GetMembers(Type ^ type, System::Reflection::BindingFlags bindingAttr);
C#
public static System.Reflection.MemberInfo[] GetMembers(Type type, System.Reflection.BindingFlags bindingAttr);
static member GetMembers : Type * System.Reflection.BindingFlags -> System.Reflection.MemberInfo[]
Public Shared Function GetMembers (type As Type, bindingAttr As BindingFlags) As MemberInfo()
Parámetros
- type
- Type
- bindingAttr
- BindingFlags
Devoluciones
Se aplica a
.NET 10 y otras versiones
Producto | Versiones |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 4.7.2 (package-provided) |
.NET Standard | 2.0 (package-provided) |
UWP | 10.0 |
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
- Source:
- TypeExtensions.cs
public:
[System::Runtime::CompilerServices::Extension]
static cli::array <System::Reflection::MemberInfo ^> ^ GetMembers(Type ^ type);
C#
public static System.Reflection.MemberInfo[] GetMembers(this Type type);
static member GetMembers : Type -> System.Reflection.MemberInfo[]
<Extension()>
Public Function GetMembers (type As Type) As MemberInfo()
Parámetros
- type
- Type
Devoluciones
Se aplica a
.NET 10 y otras versiones
Producto | Versiones |
---|---|
.NET | Core 1.0, Core 1.1, Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9, 10 |
.NET Framework | 4.7.2 (package-provided) |
.NET Standard | 2.0 (package-provided) |
UWP | 10.0 |
Colaborar con nosotros en GitHub
El origen de este contenido se puede encontrar en GitHub, donde también puede crear y revisar problemas y solicitudes de incorporación de cambios. Para más información, consulte nuestra guía para colaboradores.
Comentarios de .NET
.NET es un proyecto de código abierto. Seleccione un vínculo para proporcionar comentarios: