MapGuide API Reference
 All Classes Functions Variables Enumerations Enumerator Friends
virtual bool MgResourceService::ResourceExists ( MgResourceIdentifier resource) [pure virtual]

Checks to see if the specified resource exists.

.NET Syntax
virtual bool ResourceExists(MgResourceIdentifier resource);
Java Syntax
virtual bool ResourceExists(MgResourceIdentifier resource);
PHP Syntax
virtual bool ResourceExists(MgResourceIdentifier resource);
Parameters:
resource(MgResourceIdentifier) Resource identifier specifying the resource to be checked for existence.
Returns:
Returns true if the resource exists, false otherwise.