5/13/2011

This method validates an image string identifier.

Syntax

public bool ValidateImage(
  string 
imageString,
  string 
optionalErrorMessage
);

Parameters

imageString

[in] Path of the image file.

optionalErrorMessage

[out] Error message text if there is a problem with the image file.

Return Value

Returns Trueif the image is valid; otherwise, this method returns Falseand an optional error message.

Remarks

None

See Also