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


ITinWorkspace.OpenTin Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (GeoDatabase)  

ITinWorkspace.OpenTin Method

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

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

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.

See Also

ITinWorkspace Interface

.NET Related Topics

Geodatabase