OneNoteConversionTool.OutputGenerator.OneNoteGenerator.GetNotebook C# (CSharp) 메소드

GetNotebook() 공개 메소드

Gets the ID of an existing notebook in the current directory
public GetNotebook ( string notebookName ) : string
notebookName string name of the notebook of interest
리턴 string
		public string GetNotebook(string notebookName)
		{
			string notebookId;

			try
			{
				_mApp.OpenHierarchy(Path.Combine(_mOutputPath, notebookName), String.Empty, out notebookId);
			}
			catch (Exception e)
			{
				throw new ApplicationException("Error in GetNotebook: " + e.Message, e);
			}

			return notebookId;
		}