Click or drag to resize

IGHAObjectGetObjectsByPropertyValue Method

[This is preliminary documentation and is subject to change.]

Returns a collection of objects that have the specified property and match the specified value

Namespace:  GHASchema
Assembly:  GHASchema (in GHASchema.dll) Version: 1.1.8074.31450 (1.0.0.0)
Syntax
C#
IGHAObjectCollection GetObjectsByPropertyValue(
	string name,
	Object value,
	bool recurs = false
)

Parameters

name
Type: SystemString
Name of property for which to search
value
Type: SystemObject
Value to match
recurs (Optional)
Type: SystemBoolean
Recusively searches all children of the calling object if set to true. Performs a direct search if set to false

Return Value

Type: IGHAObjectCollection
Collection of objects that have the specified property and match the specified value
See Also