|  | This document is archived and information here might be outdated. Recommended version. | 
| ArcObjects namespaces > Geoprocessing > ESRI.ArcGIS.Geoprocessing > Interfaces > IG > IGPUtilities2 Interface > IGPUtilities2.OpenFromString Method (ArcObjects .NET 10.4 SDK) | 
Returns the dataset of the given value.
[Visual Basic .NET] Public Function OpenFromString ( _ ByVal NameString As String _ ) As Object
[C#] public object OpenFromString ( string NameString );
[C++]
HRESULT OpenFromString(
  BSTR NameString,
  LPUNKNOWN* ppDataset
);
[C++]
Parameters NameString [in] NameString is a parameter of type BSTR ppDataset [out, retval] ppDataset is a parameter of type LPUNKNOWN