public static int ToInstanceID (Build.Content.ObjectIdentifier objectId);

Description

Tries to return the InstanceID that represents this ObjectIdentifier.

Returns 0 if the ObjectIdentifier is invalid.