ArcObjects Library Reference (GeoDatabase)  

ITinEdit.SaveAs Method

Saves the TIN to disk using the specified name.

[Visual Basic .NET]
Public Sub SaveAs ( _
    ByVal newName As String, _
    [ByRef pOverWrite As Object] _
)
[C#]
public void SaveAs (
    string newName,
    ref object pOverWrite
);
[C#]

Optional Values

pOverWrite   To indicate that this parameter is undefined, first define a variable object Missing = Type.Missing; then pass this in as ref Missing.
[C++]
HRESULT SaveAs(
  BSTR newName,
  VARIANT* pOverWrite
);
[C++]

Parameters

newName [in]   newName is a parameter of type BSTR pOverWrite [optional]   pOverWrite is a parameter of type VARIANT

  To indicate this parameter is undefined pass a reference to a VARIANT with type VT_ERROR and scode value of DISP_E_PARAMNOTFOUND.

Product Availability

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

Description

Saves the current state of the TIN to a new dataset on disk. The interface pointer will reference the saved TIN after the call is made.

The newName argument is a string representing the full path to the output TIN to be created.

The optional overwrite argument is used to replace (delete) a TIN if one already exists with the specified name. The default value is False.

See Also

ITinEdit Interface