iBATIS.NET Class Library DataMapper V1.6.1, DataAccess V1.9.1

ObjectProbe.HasReadableProperty Method 

Checks to see if the Object have a property/field be a given name.

[Visual Basic]
Public Shared Function HasReadableProperty( _
   ByVal Object As Object, _
   ByVal String As String _
) As Boolean
[C#]
public static bool HasReadableProperty(
   Object obj,
   String propertyName
);

Parameters

obj
The Object on which to invoke the specified property.
propertyName
The name of the property to check for.

Return Value

True or false if the property exists and is readable.

See Also

ObjectProbe Class | IBatisNet.Common.Utilities.Objects Namespace