Repository.URD.GetAllURDs

Gets a list of all existing URDs in the current project. Returns a cURD object array that contains the URD names, ID numbers and other information.

Syntax
object.URD.GetAllURDs

where object is a variable that represents a Repository object.

Example
This example assumes that URDs exist in the first available project of a repository.

VBA|VB.NET MyRepository Repository ListofURDs cURD MyRepository.Project.SetCurrentProject (1) ListofURDs = MyRepository.URD.GetAllURDs URDName String URDID Integer URDName = ListofURDs(0).Name URDID = ListofURDs(0).ID MsgBox ( & URDName &  & URDID)