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


IGeometryMaterialList.InsertMaterial Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (3DAnalyst)  

IGeometryMaterialList.InsertMaterial Method

Insert geometry material at position.

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

Parameters 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