Click or drag to resize

MapperUtilsIsPageElement Method (IMapper, String, String)

Determines if the IMapper is being rendered for the specified MOP and Name of the PageElementInfo. This method is safe to use even if the mapper is null, has no MOP, and/or has no PageElementInfo associated.

Namespace:  NetQuarry.Data
Assembly:  EAP.Mapper (in EAP.Mapper.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
public static bool IsPageElement(
	this IMapper map,
	string mop,
	string pageElementName
)

Parameters

map
Type: NetQuarry.DataIMapper
The mapper.
mop
Type: SystemString
The MOP to test.
pageElementName
Type: SystemString
The PageElement name to test.

Return Value

Type: Boolean
True if mapper is being rendered for the specified MOP and PageElement, else false.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IMapper. 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