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


IGpDispatch.CreateScratchName Method (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Geoprocessing)  

IGpDispatch.CreateScratchName Method

Creates a scratch name for the given workspace.

[Visual Basic .NET]
Public Function CreateScratchName ( _
    [ByRef Prefix As Object], _
    [ByRef Suffix As Object], _
    [ByRef DataType As Object], _
    [ByRef Workspace As Object] _
) As String
[C#]
public string CreateScratchName (
    ref object Prefix,
    ref object Suffix,
    ref object DataType,
    ref object Workspace
);
[C++]
HRESULT CreateScratchName(
  Variant* Prefix,
  Variant* Suffix,
  Variant* DataType,
  Variant* Workspace
);
[C++]

Parameters Prefix [in, optional]
Prefix is a parameter of type VARIANT* Suffix [in, optional]
Suffix is a parameter of type VARIANT* DataType [in, optional]
DataType is a parameter of type VARIANT* Workspace [in, optional]
Workspace is a parameter of type VARIANT*

Product Availability

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

See Also

IGpDispatch Interface