Identifiers Property

Type

GeoCalcNET.IdentifierCollection

 

Access

Get only

 

Description

The Identifiers property provides access to the IdentifierCollection for the Serializable object.  An identifier is a pair of alphanumeric strings used to identify an object within the data source.  An identifier consists of an issuer, the authority that has provided the object, and a code, the value that identifies the specific object.  

 

Example

[VB]

Private Sub GeoCalcNET_Serializable_Identifiers(ByVal s As GeoCalcNET.Serializable)

Dim idc As GeoCalcNET.IdentifierCollection = s.Identifiers

End Sub

 

[C#]

private void GeoCalcNET_Serializable_Identifiers(GeoCalcNET.Serializable s)

{

String idents = s.Name + " contains the following identifiers: ";

GeoCalcNET.IdentifierCollection ids = s.Identifiers;

for(int i = 0; i < ids.Count; i++)

{

String issuer = "";

String code = "";

ids.GetItemByIndex(i, ref issuer, ref code);

idents += "[issuer=" + issuer + ", code=" + code + "]";

if(i < ids.Count - 1)

{

idents += ", ";

}

}

}