private void WriteNextPasteTargetInfo(PasteTargetInfo obj)
{
this._NodeData_PasteTargetInfo_DefaultDragAndDropVerb[this._currentIndex] = (int) obj.DefaultDragAndDropVerb;
string[] allowedClipboardFormats = obj.GetAllowedClipboardFormats();
int length = -1;
if (allowedClipboardFormats != null)
{
length = allowedClipboardFormats.Length;
int index = 0;
for (index = 0; index < length; index++)
{
this.WriteString(allowedClipboardFormats[index]);
}
}
this._NodeData_PasteTargetInfo_AllowedClipboardFormats_Count[this._currentIndex] = length;
}