Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing collection property
Message
From
08/09/2008 15:28:56
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Environment versions
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01345879
Message ID:
01345887
Views:
8
This message has been marked as a message which has helped to the initial question of the thread.
>My question is - how can I access this _fieldID in my code?
>I need to check _fieldID for some specific string, what would be my syntax?

As I can see in source code _fieldID is private field used by public property FieldId of SqlWhereBuilderCondition class

private string _fieldId = "";
///
/// The string identifier for the SqlWhereBuilderField used in this condition
///

public string FieldId
{
get {return _fieldId;}
set {_fieldId = value;}
}


You can access this property simply

mySWBuilder.Conditions[0].FieldId

Maybe I misunderstand your goal?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform