MapperUtilsIsPageElement Method (TypedMapper, String, String) |
Determines if the
TypedMapper 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 TypedMapper map,
string mop,
string pageElementName
)
<ExtensionAttribute>
Public Shared Function IsPageElement (
map As TypedMapper,
mop As String,
pageElementName As String
) As Boolean
Parameters
- map
- Type: NetQuarry.DataTypedMapper
The mapper. - mop
- Type: SystemString
The MOP to test. - pageElementName
- Type: SystemString
The PageElement name to test.
Return Value
Type:
BooleanTrue 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
TypedMapper. 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