/// <summary> /// Marshals a binary representation of this <code>ObjID</code> to /// an <code>ObjectOutput</code> instance. /// /// <para>Specifically, this method first invokes the given stream's /// <seealso cref="ObjectOutput#writeLong(long)"/> method with this object /// identifier's object number, and then it writes its address /// space identifier by invoking its <seealso cref="UID#write(DataOutput)"/> /// method with the stream. /// /// </para> /// </summary> /// <param name="out"> the <code>ObjectOutput</code> instance to write /// this <code>ObjID</code> to /// </param> /// <exception cref="IOException"> if an I/O error occurs while performing /// this operation </exception> //JAVA TO C# CONVERTER WARNING: Method 'throws' clauses are not available in .NET: //ORIGINAL LINE: public void write(java.io.ObjectOutput out) throws java.io.IOException public void Write(ObjectOutput @out) { @out.WriteLong(ObjNum); Space.Write(@out); }