This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IP > IParseNameString Interface > IParseNameString.CanParse Method (ArcObjects .NET 10.5 SDK) |
Indicates if the given name string can be parsed by this parser.
[Visual Basic .NET] Public Function CanParse ( _ ByVal NameString As String _ ) As Boolean
[C#] public bool CanParse ( string NameString );
[C++]
HRESULT CanParse(
BSTR NameString,
VARIANT_BOOL* CanParse
);
[C++]
Parameters NameString [in] NameString is a parameter of type BSTR CanParse [out, retval] CanParse is a parameter of type VARIANT_BOOL
Indicates if the given string can be parsed by this parser. Use the CanParse method before using the Parse method.