Click or drag to resize

imbXmlCommonToolscompareAttributeValue Method (XmlNode, String, String, stringMatchPolicy, collectionTestMode)

Home | imbSCI | imbACE | imbNLP | imbWEM | imbWBI
Testira da li se u prosledjenom nodeu poklapa bar jedna vrednost attributa

Namespace:  imbACE.Core.xml
Assembly:  imbACE.Core (in imbACE.Core.dll) Version: 0.2
Syntax
C#
public static bool compareAttributeValue(
	this XmlNode source,
	string attributeNames,
	string attributeValues,
	stringMatchPolicy matchPolicy = stringMatchPolicy.trimSpaceContainCaseFree,
	collectionTestMode testMode = collectionTestMode.any
)
Request Example View Source

Parameters

source
Type: System.XmlXmlNode
Node koji se testira
attributeNames
Type: SystemString
DList spisak atributa ili @dataSource
attributeValues
Type: SystemString
DList spisak vrednosti za svaki od atributa - redosled je bitan
matchPolicy (Optional)
Type: stringMatchPolicy
testMode (Optional)
Type: imbACE.Core.xmlcollectionTestMode

Return Value

Type: Boolean

Usage Note

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