Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves all the fields defined for the type of the current instance that match the specified binding constraints.
Namespace: Microsoft.VisualStudio.Data.Framework
Assembly: Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)
Syntax
'Declaration
Private Function GetFields ( _
bindingAttr As BindingFlags _
) As FieldInfo() Implements IReflect.GetFields
FieldInfo[] IReflect.GetFields(
BindingFlags bindingAttr
)
private:
virtual array<FieldInfo^>^ GetFields(
BindingFlags bindingAttr
) sealed = IReflect::GetFields
private abstract GetFields :
bindingAttr:BindingFlags -> FieldInfo[]
private override GetFields :
bindingAttr:BindingFlags -> FieldInfo[]
JScript does not support explicit interface implementations.
Parameters
- bindingAttr
Type: System.Reflection.BindingFlags
A bitmask made up of one or more BindingFlags that specify how the search is conducted, or zero to return nulla null reference (Nothing in Visual Basic).
Return Value
Type: array<System.Reflection.FieldInfo[]
An array of FieldInfo objects representing all fields defined for the type of the current instance that match the specified binding constraints, if found; otherwise returns nulla null reference (Nothing in Visual Basic).
Implements
IReflect.GetFields(BindingFlags)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.