IdeaBlade DevForce 2010 Help Reference
PropertyName Property
See Also  Send Feedback
IdeaBlade.Linq Assembly > IdeaBlade.Linq Namespace > PropertySelector Class : PropertyName Property



The property name, may be a nested Property name as well. i.e. "Customer.City" or "Customer.Orders"

Syntax

Visual Basic (Declaration) 
Public ReadOnly Property PropertyName As String
Visual Basic (Usage)Copy Code
Dim instance As PropertySelector
Dim value As String
 
value = instance.PropertyName
C# 
public string PropertyName {get;}
C++/CLI 
public:
property String^ PropertyName {
   String^ get();
}

Exceptions

ExceptionDescription
System.ExceptionUnable to locate property 'x' on type 'y'
System.InvalidCastExceptionUnable to convert value to type 'x'
System.InvalidOperationExceptionThis operator can only operate on properties of type 'string'

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.