This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Geometry > ESRI.ArcGIS.Geometry > Interfaces > IG > IGeneralMultiPatchInfo Interface > IGeneralMultiPatchInfo.MaterialCount Property (ArcObjects .NET 10.4 SDK) |
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
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.