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.
Returns the member information from a type for a field or a property by using reflection.
Namespace: Microsoft.BusinessData.Infrastructure
Assembly: Microsoft.BusinessData (in Microsoft.BusinessData.dll)
Syntax
'Declaration
Public Shared Function ProbeType ( _
type As Type, _
fieldOrPropertyName As String, _
bindingFlags As BindingFlags _
) As MemberInfo
'Usage
Dim type As Type
Dim fieldOrPropertyName As String
Dim bindingFlags As BindingFlags
Dim returnValue As MemberInfo
returnValue = Util.ProbeType(type, _
fieldOrPropertyName, bindingFlags)
public static MemberInfo ProbeType(
Type type,
string fieldOrPropertyName,
BindingFlags bindingFlags
)
Parameters
type
Type: System.TypeThe type that contains the member.
fieldOrPropertyName
Type: System.StringThe name of the field or property.
bindingFlags
Type: System.Reflection.BindingFlagsThe binding flags to use for searching the member.
Return Value
Type: System.Reflection.MemberInfo
The member information for the specified type of the specified field or property.