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

IGeometryMaterialList.InsertMaterial Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > 3DAnalyst > ESRI.ArcGIS.Analyst3D > Interfaces > IG > IGeometryMaterialList Interface > IGeometryMaterialList.InsertMaterial Method
ArcGIS Developer Help

IGeometryMaterialList.InsertMaterial Method

Insert geometry material at position.

[Visual Basic .NET]
Public Sub InsertMaterial ( _
    ByVal index As Integer, _
    ByVal pMaterial As IGeometryMaterial _
public void InsertMaterial (
    int index,
    IGeometryMaterial pMaterial
HRESULT InsertMaterial(
  long index,
  IGeometryMaterial* pMaterial
index [in]

index is a parameter of type long pMaterial [in]
pMaterial is a parameter of type IGeometryMaterial*

Product Availability

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

See Also

IGeometryMaterialList Interface