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


INameFactory.Create Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (System)  

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

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