DevForce Help Reference
FindPropertyOrField(Type,String,Boolean,Boolean) Method


Finds a specific public property or field. Will be automatically restricted as well by execution environment restrictions ( e.g. Silverlight).
Syntax
'Declaration
 
Public Overloads Shared Function FindPropertyOrField( _
   ByVal type As Type, _
   ByVal memberName As String, _
   ByVal isPublic As Boolean, _
   ByVal isStatic As Boolean _
) As MemberInfo
'Usage
 
Dim type As Type
Dim memberName As String
Dim isPublic As Boolean
Dim isStatic As Boolean
Dim value As MemberInfo
 
value = TypeFns.FindPropertyOrField(type, memberName, isPublic, isStatic)
public static MemberInfo FindPropertyOrField( 
   Type type,
   string memberName,
   bool isPublic,
   bool isStatic
)

Parameters

type
memberName
isPublic
isStatic
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

TypeFns Class
TypeFns Members
Overload List

Send Feedback