This document is archived and information here might be outdated.  Recommended version.


IParseNameString.CanParse Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IP > IParseNameString Interface > IParseNameString.CanParse Method
ArcGIS Developer Help

IParseNameString.CanParse Method

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
);
[C++]
Parameters
NameString [in]

NameString is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

Indicates if the given string can be parsed by this parser. Use the CanParse method before using the Parse method.

See Also

IParseNameString Interface