Version

GetItemField<T> Method (XamPieChartProxy)

Returns the value of a public, private or internal field of the specified item
Syntax
'Declaration
 
Protected Function GetItemField(Of T)( _
   ByVal oItem As System.Object, _
   ByVal fieldName As System.String, _
   Optional ByVal bIncludePrivate As System.Boolean _
) As T
protected T GetItemField<T>( 
   System.object oItem,
   System.string fieldName,
   System.bool bIncludePrivate
)
protected: T* GetItemField<T>( 
   System.Object* oItem,
   System.string* fieldName,
   System.bool bIncludePrivate
) 

Parameters

oItem
The item whose field value needs to be returned
fieldName
The name of the field
bIncludePrivate
Boolean of false indicates that the field is public, Boolean of true indicates that the field can be private or internal too

Type Parameters

T
The return type of the field

Return Value

Returns the value of a public, private or internal field of the specified item
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