DataViewBrowseObject.IReflect.GetFields Method

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

'宣言
Private Function GetFields ( _
    bindingAttr As BindingFlags _
) As FieldInfo() Implements IReflect.GetFields
'使用
Dim instance As DataViewBrowseObject
Dim bindingAttr As BindingFlags
Dim returnValue As FieldInfo()

returnValue = CType(instance, IReflect).GetFields(bindingAttr)
FieldInfo[] IReflect.GetFields(
    BindingFlags bindingAttr
)
private:
virtual array<FieldInfo^>^ GetFields(
    BindingFlags bindingAttr
) sealed = IReflect::GetFields
JScript does not support explicit interface implementations.

Parameters

Return Value

Type: []

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 a null reference (Nothing in Visual Basic).

Implements

IReflect.GetFields(BindingFlags)

Permissions

See Also

Reference

DataViewBrowseObject Class

DataViewBrowseObject Members

Microsoft.VisualStudio.Data.Framework Namespace