HasIdentifierIn Method

[VB]

Public Function HasIdentifierIn(ByVal value As GeoCalcNET.Serializable) As Boolean

[C#]

public System.Boolean HasIdentifierIn(GeoCalcNET.Serializable value)

 

Description

The HasIdentifierIn method indicates if this object has an identifier that is also present in the specified object.

 

Example

[VB]

Private Sub GeoCalcNET_Serializable_HasIdentifierIn(ByVal s1 As GeoCalcNET.Serializable, ByVal s2 As GeoCalcNET.Serializable)

If s1.HasIdentifierIn(s2) Then

MessageBox.Show("These two objects have a common identifier")

End If

End Sub

 

[C#]

private void GeoCalcNET_Serializable_HasIdentifierIn(GeoCalcNET.Serializable s1, GeoCalcNET.Serializable s2)

{

if(s1.HasIdentifierIn(s2))

{

MessageBox.Show("These objects have a common identifier");

}

}