IdeaBlade DevForce 2010 Help Reference
FindPropertyCached Method
See Also  Send Feedback
IdeaBlade.Core Assembly > IdeaBlade.Core Namespace > TypeFns Class : FindPropertyCached Method



type
propertyName
isPublic
isStatic
Same as FindPropertyOrField(Type,String,Boolean,Boolean) but returns the cached result if it exists.

Syntax

Visual Basic (Declaration) 
Public Shared Function FindPropertyCached( _
   ByVal type As Type, _
   ByVal propertyName As String, _
   ByVal isPublic As Boolean, _
   ByVal isStatic As Boolean _
) As PropertyInfo
Visual Basic (Usage)Copy Code
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)
C# 
public static PropertyInfo FindPropertyCached( 
   Type type,
   string propertyName,
   bool isPublic,
   bool isStatic
)
C++/CLI 
public:
static PropertyInfo^ FindPropertyCached( 
   Type^ type,
   String^ propertyName,
   bool isPublic,
   bool isStatic
) 

Parameters

type
propertyName
isPublic
isStatic

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.