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


IParseNameString.Parse Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

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,
  IName** Name
);
[C++]

Parameters NameString [in] NameString is a parameter of type BSTR Name [out, retval]
Name is a parameter of type IName

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