DevForce Help Reference
FindPropertyCached Method


Same as FindPropertyOrField(Type,String,Boolean,Boolean) but returns the cached result if it exists.
Syntax
'Declaration
 
Public Shared Function FindPropertyCached( _
   ByVal type As Type, _
   ByVal propertyName As String, _
   ByVal isPublic As Boolean, _
   ByVal isStatic As Boolean _
) As PropertyInfo
'Usage
 
Dim type As Type
Dim propertyName As String
Dim isPublic As Boolean
Dim isStatic As Boolean
Dim value As PropertyInfo
 
value = TypeFns.FindPropertyCached(type, propertyName, isPublic, isStatic)
public static PropertyInfo FindPropertyCached( 
   Type type,
   string propertyName,
   bool isPublic,
   bool isStatic
)

Parameters

type
propertyName
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

Send Feedback