Click or drag to resize

VisualComponentCommonComponentTypes Method

Returns the component types common between this visual and a list of other visuals.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 10.0.0.6737
Syntax
C#
public static IEnumerable<VisualComponentComponentType> CommonComponentTypes(
	this Visual visual,
	params Visual[] others
)

Parameters

visual
Type: Demo3D.VisualsVisual
The visual to inspect.
others
Type: Demo3D.VisualsVisual
The other visuals to inspect.

Return Value

Type: IEnumerableVisualComponentComponentType
The set of common component types.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Visual. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also