Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

C# syntax question

Status
Not open for further replies.

rf222

Programmer
Jan 29, 2004
94
US
What is [ConfigurationProperty...] in the syntax below? why is it in brackets??? here is the fullcode:


[ConfigurationProperty("fileName",
DefaultValue = "default.txt")]
[StringValidator(InvalidCharacters = " ~!@#$%^&*()[]{}/;'\"|\\",
MinLength = 1, MaxLength = 60)]
public String FileName
{
get
{
return (String)this["fileName"];
}
set
{
this["fileName"] = value;
}
}
 
By the lack of replys you seem to have bamboozled everyone here.

Try posting in the C# forum (forum732).

Don't forget to get back to us if you get the answer!


Yet another unchecked rambling brought to you by:
Oddball
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top