This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > System > ESRI.ArcGIS.esriSystem > Interfaces > IN > INameFactory Interface > INameFactory.Create Method (ArcObjects .NET 10.4 SDK) |
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
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.