API Reference
Class
OneNoteMarkdownConverterExtensions
Converts typed offline OneNote models through the first-party Markdown model.
Inheritance
- Object
- OneNoteMarkdownConverterExtensions
Methods
ToMarkdown 2 overloads
public static String ToMarkdown(OneNoteSection section, OneNoteMarkdownOptions options = null) #Returns:
StringConverts a section to Markdown text.
Parameters
- arg1 OfficeIMO.OneNote.OneNoteSection
- arg2 OfficeIMO.OneNote.Markdown.OneNoteMarkdownOptions = null
public static String ToMarkdown(OneNoteNotebook notebook, OneNoteMarkdownOptions options = null) #Returns:
StringConverts a notebook to Markdown text.
Parameters
- arg1 OfficeIMO.OneNote.OneNoteNotebook
- arg2 OfficeIMO.OneNote.Markdown.OneNoteMarkdownOptions = null
ToMarkdownBytes 2 overloads
public static Byte[] ToMarkdownBytes(OneNoteSection section, OneNoteMarkdownOptions options = null) #Returns:
Byte[]Encodes section Markdown as UTF-8 without a byte-order mark.
Parameters
- arg1 OfficeIMO.OneNote.OneNoteSection
- arg2 OfficeIMO.OneNote.Markdown.OneNoteMarkdownOptions = null
public static Byte[] ToMarkdownBytes(OneNoteNotebook notebook, OneNoteMarkdownOptions options = null) #Returns:
Byte[]Encodes notebook Markdown as UTF-8 without a byte-order mark.
Parameters
- arg1 OfficeIMO.OneNote.OneNoteNotebook
- arg2 OfficeIMO.OneNote.Markdown.OneNoteMarkdownOptions = null
ToMarkdownDocument 2 overloads
public static MarkdownDoc ToMarkdownDocument(OneNoteSection section, OneNoteMarkdownOptions options = null) #Returns:
MarkdownDocConverts a section to a first-party Markdown document.
Parameters
- arg1 OfficeIMO.OneNote.OneNoteSection
- arg2 OfficeIMO.OneNote.Markdown.OneNoteMarkdownOptions = null
public static MarkdownDoc ToMarkdownDocument(OneNoteNotebook notebook, OneNoteMarkdownOptions options = null) #Returns:
MarkdownDocConverts a notebook to a first-party Markdown document.
Parameters
- arg1 OfficeIMO.OneNote.OneNoteNotebook
- arg2 OfficeIMO.OneNote.Markdown.OneNoteMarkdownOptions = null
ToMarkdownDocumentResult 2 overloads
public static OneNoteMarkdownConversionResult ToMarkdownDocumentResult(OneNoteSection section, OneNoteMarkdownOptions options = null) #Returns:
OneNoteMarkdownConversionResultConverts a section to Markdown with explicit source and semantic-projection diagnostics.
Parameters
- arg1 OfficeIMO.OneNote.OneNoteSection
- arg2 OfficeIMO.OneNote.Markdown.OneNoteMarkdownOptions = null
public static OneNoteMarkdownConversionResult ToMarkdownDocumentResult(OneNoteNotebook notebook, OneNoteMarkdownOptions options = null) #Returns:
OneNoteMarkdownConversionResultConverts a notebook to Markdown with explicit source and semantic-projection diagnostics.
Parameters
- arg1 OfficeIMO.OneNote.OneNoteNotebook
- arg2 OfficeIMO.OneNote.Markdown.OneNoteMarkdownOptions = null
Inherited Methods
public override Boolean Equals(Object obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object