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


IParseNameString.CanParse Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (System)  

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,
  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

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