asp.net.ph

Constraint.ToString Method

System.Data Namespace   Constraint Class


Returns the ConstraintName, if there is one, as a string.

[ VB ]
Overrides Public Function ToString ( ) As String

[ C# ]
public override String ToString ( );

[ C++ ]
public: String* ToString ( );

[ JScript ]
public override function ToString ( ) : String;

Return Value

The string value of the ConstraintName.

Remarks

Use the ToString method to return a string representation of the ConstraintName for a Constraint.

Example

The following example returns the ConstraintName using the ToString method.

private void PrintToString ( Constraint myConstraint ) {
   Response.Write ( myConstraint.ToString ( ) );
}
  C# VB

See Also

Constraint Members Skip Navigation Links




Home
Suggested Reading


Previous page Back to top Next page

© 2000-2010 Rey Nuñez All rights reserved.

If you have any question, comment or suggestion
about this site, please send us a note

You can help support asp.net.ph