Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Accessing collection property
Message
De
08/09/2008 15:28:56
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01345879
Message ID:
01345887
Vues:
9
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?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform