Click or drag to resize

imbXmlCommonToolscompareAttributeValue Method (XmlNode, ListString, ListString, 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,
	List<string> attNames,
	List<string> attValues,
	stringMatchPolicy matchPolicy = stringMatchPolicy.trimSpaceContainCaseFree,
	collectionTestMode testMode = collectionTestMode.any
)
Request Example View Source

Parameters

source
Type: System.XmlXmlNode
Node koji se testira
attNames
Type: System.Collections.GenericListString
Lista imena atributa / odnosno specijalnih oznaka za izvor podatka
attValues
Type: System.Collections.GenericListString
Lista vrednosti za svaki od imena atributa - prema istom redosledu
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