Repository.XFRACAS.GetAllXFRACASEntities: Difference between revisions

From ReliaWiki
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{DISPLAYTITLE:Repository.XFRACAS.GetAllXfracasEntities Method}}{{Template:API}}{{Template:APIBreadcrumb|10|.[[Repository Class|Repository]]}}
{{DISPLAYTITLE:Repository.XFRACAS.GetAllXfracasEntities Method}}{{Template:API}}{{Template:APIBreadcrumb|9|.[[Repository Class|Repository]]}}





Revision as of 19:57, 28 October 2015

APIWiki.png


Member of: SynthesisAPI9.Repository


Gets a list of XFRACAS entities connected to a Synthesis repository. Returns a NameIDPair object array that contains all the entities connected to that repository.

Syntax

.XFRACAS.GetAllXfracasEntities()


Example

VBA|VB.NET

 'Add code to connect to a Synthesis repository. 
  Dim MyRepository As New Repository
  ... 

 
 'Get a list of all XFRACAS entities.  
 Dim ListofEntities() As NameIDPair
 ListOfEntities = MyRepository.XFRACAS.GetAllXfracasEntities()

 'Output sample: Display the number of elements in the array. 
 Dim NumberofElements As Integer
 NumberofElements = UBound(ListofEntities) - LBound(ListofEntities) + 1
 MsgBox (NumberofElements)