Simply pass in the UID. You can also pass in a container so that all the items are retrieved into the container rather than into the master cache collection.
It is recommended to use your own container where possible.
Public Function GetObjectsByUID(ByVal pstrUID As String)
As IObjectDictionary
Public Function GetObjectsByUID(ByVal pstrUID As String,
ByVal pobjContainer As ContainerObjectDictionary)
As IObjectDictionary