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


IParseNameString.Parse 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.Parse Method
ArcGIS Developer Help

IParseNameString.Parse Method

Parses the name string and returns a new Name object.

[Visual Basic .NET]
Public Function Parse ( _
    ByVal NameString As String _
) As IName
[C#]
public IName Parse (
    string NameString
);
[C++]
HRESULT Parse(
  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

Returns a new Name object by parsing the given string. Use the CanParse method first to ensure the string can be parsed.

See Also

IParseNameString Interface