StringValidatorAttribute::InvalidCharacters Property

 

Gets or sets the invalid characters for the property.

Namespace:   System.Configuration
Assembly:  System.Configuration (in System.Configuration.dll)

public:
property String^ InvalidCharacters {
	String^ get();
	void set(String^ value);
}

Property Value

Type: System::String^

The string that contains the set of characters that are not allowed for the property.

The following example shows how to use the InvalidCharacters property.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: