---
nav: wcp_docs
parent_url: /wcp_docs/
title: >- 
  Reference: InstanceReferenceList Member Functions
layout: subsection
---

<b>Instance Type: InstanceReferenceList</b>

<table><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td>getIDValues</td><td>Arguments: <ul><li>None
</li></ul> Return Type: <ul><li>StringList
</li></ul> Returns a StringList of constituent ID values for all instance references in the list.</td></tr><tr><td>getIDValues</td><td>Arguments: <ul><li>idType (String)
</li></ul> Return Type: <ul><li>StringList
</li></ul> Returns a StringList of constituent ID values for any instance references in the list that match the specified idType.</td></tr><tr><td>getIDValues</td><td>Arguments: <ul><li>idType (String)
</li><li>parentType
</li></ul> Return Type: <ul><li>StringList
</li></ul> Returns a StringList of constituent ID values for any instance references in the list that match the specified idType and parentType.</td></tr><tr><td>iterator</td><td>Arguments: <ul><li>None
</li></ul> Return Type: <ul><li>InstanceReference
</li></ul> Returns an iterator that you can use to iterator over the values in the list.</td></tr><tr><td>toXML</td><td>Arguments: <ul><li>enclosingElement (String)
</li><li>elementName (String)
</li></ul> Return Type: <ul><li>Xml
</li></ul> Returns the instance reference list as XML using the specified elementName and enclosed in the specified enclosingElement. If the element name and enclosing element name contain a prefix, define it in the orchestration.</td></tr></tbody></table><br/>

