ArcObjects Library Reference (Geometry)  

IGeneralMultiPatchInfo.MaterialCount Property

Get Material Count.

[Visual Basic .NET]
Public ReadOnly Property MaterialCount As Integer
[C#]
public int MaterialCount {get;}
[C++]
HRESULT get_MaterialCount(
  long* pCount
);
[C++]

Parameters

pCount [out, retval]   pCount is a parameter of type long

Product Availability

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

Description

Returns the total number of Geometry Materials in the MultiPatch. This value is identical with the IGeometryMaterialList.Count property of the list passed to IGeneralMultiPatchCreator.Init() when constructing the MultiPatch.

See Also

IGeneralMultiPatchInfo Interface