SIL.FieldWorks.TE.TeImporter.SetBookAnnotations C# (CSharp) 메소드

SetBookAnnotations() 보호된 메소드

Store the set of annotations that exist for the given book before importing.
protected SetBookAnnotations ( ) : void
리턴 void
		protected void SetBookAnnotations()
		{
			IFdoOwningSequence<IScrScriptureNote> curBookNotes =
				m_scr.BookAnnotationsOS[m_nBookNumber - 1].NotesOS;
			m_existingAnnotations =
				new Dictionary<ScrNoteKey, IScrScriptureNote>(curBookNotes.Count);
			foreach (IScrScriptureNote ann in curBookNotes)
			{
				if (!m_existingAnnotations.ContainsKey(ann.Key))
					m_existingAnnotations.Add(ann.Key, ann);
			}
		}