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


INameFactory.Create Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IN > INameFactory Interface > INameFactory.Create Method
ArcGIS Developer Help

INameFactory.Create Method

Finds the correct name-string parser for the given name string, and uses it to create a new Name object.

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

The Create method creates a new Name object by searching the "ESRI Name String Parsers" component category for objects implementing IParseNameString. Once the correct name-string parser is found it is used to create the Name object.

See Also

INameFactory Interface