This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IT > ITinWorkspace Interface > ITinWorkspace.OpenTin Method (ArcObjects .NET 10.4 SDK) |
Opens an existing TIN.
[Visual Basic .NET] Public Function OpenTin ( _ ByVal Name As String _ ) As ITin
[C#] public ITin OpenTin ( string Name );
[C++]
HRESULT OpenTin(
BSTR Name,
ITin** ppTin
);
[C++]
Parameters Name [in] Name is a parameter of type BSTR ppTin [out, retval]
ppTin is a parameter of type ITin
Returns a reference to the specified TIN. If the same TIN on disk that is being requested is already referenced by a TIN object that is alive in the process, a reference to that object is returned. If you need to ensure you get a new, independent TIN object, not a reference to an existing object, instantiate a new TIN and call ITinAdvanced.Init.