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


IGPItemIndexer.AddItemInfo Method (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (Search)  

IGPItemIndexer.AddItemInfo Method

Add ItemInfo to Index File.

[Visual Basic .NET]
Public Sub AddItemInfo ( _
    ByVal pItemInfo As IItemInfo, _
    ByVal ReplaceItems As Boolean, _
    ByVal indexPath As String, _
    ByVal SDEConnection As String, _
    ByRef pGuid As String _
)
[C#]
public void AddItemInfo (
    IItemInfo pItemInfo,
    bool ReplaceItems,
    string indexPath,
    string SDEConnection,
    ref string pGuid
);
[C++]
HRESULT AddItemInfo(
  IItemInfo* pItemInfo,
  VARIANT_BOOL ReplaceItems,
  BSTR indexPath,
  BSTR SDEConnection,
  BSTR* pGuid
);
[C++]

Parameters pItemInfo [in]
pItemInfo is a parameter of type IItemInfo ReplaceItems [in] ReplaceItems is a parameter of type VARIANT_BOOL indexPath [in] indexPath is a parameter of type BSTR SDEConnection [in] SDEConnection is a parameter of type BSTR pGuid [in] pGuid is a parameter of type BSTR

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires 3D Analyst Extension.

See Also

IGPItemIndexer Interface