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


IGeneralMultiPatchInfo.MaterialCount Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeneralMultiPatchInfo Interface > IGeneralMultiPatchInfo.MaterialCount Property
ArcGIS Developer Help

IGeneralMultiPatchInfo.MaterialCount Property

Get Material Count.

[Visual Basic .NET]
Public ReadOnly Property MaterialCount As Integer
[C#]
public int MaterialCount {get;}
[C++]
HRESULT get_MaterialCount(
  System.Int32* 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