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

IGeometryMaterialList.AddMaterial 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.AddMaterial Method
ArcGIS Developer Help

IGeometryMaterialList.AddMaterial Method

Add geometry material.

[Visual Basic .NET]
Public Sub AddMaterial ( _
    ByVal pMaterial As IGeometryMaterial _
public void AddMaterial (
    IGeometryMaterial pMaterial
HRESULT AddMaterial(
  IGeometryMaterial* pMaterial
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