C# 클래스 MyApplication.VanillaAddIn.AddIn

상속: IDTExtensibility2, IRibbonExtensibility
파일 보기 프로젝트 열기: OneNoteDev/VanillaAddIn

공개 메소드들

메소드 설명
AddIn ( ) : System
GetCustomUI ( string RibbonID ) : string

Returns the XML in Ribbon.xml so OneNote knows how to render our ribbon

GetImage ( string imageName ) : IStream

Specified in Ribbon.xml, this method returns the image to display on the ribbon button

OnAddInsUpdate ( Array &custom ) : void
OnBeginShutdown ( Array &custom ) : void

Cleanup

OnConnection ( object Application, ext_ConnectMode ConnectMode, object AddInInst, Array &custom ) : void

Called upon startup. Keeps a reference to the current OneNote application object.

OnStartupComplete ( Array &custom ) : void
SetOneNoteApplication ( Microsoft.Office.Interop.OneNote.Application application ) : void
VanillaAddInButtonClicked ( IRibbonControl control ) : Task

비공개 메소드들

메소드 설명
OnDisconnection ( ext_DisconnectMode RemoveMode, Array &custom ) : void
ShowForm ( ) : void

메소드 상세

AddIn() 공개 메소드

public AddIn ( ) : System
리턴 System

GetCustomUI() 공개 메소드

Returns the XML in Ribbon.xml so OneNote knows how to render our ribbon
public GetCustomUI ( string RibbonID ) : string
RibbonID string
리턴 string

GetImage() 공개 메소드

Specified in Ribbon.xml, this method returns the image to display on the ribbon button
public GetImage ( string imageName ) : IStream
imageName string
리턴 IStream

OnAddInsUpdate() 공개 메소드

public OnAddInsUpdate ( Array &custom ) : void
custom System.Array
리턴 void

OnBeginShutdown() 공개 메소드

Cleanup
public OnBeginShutdown ( Array &custom ) : void
custom System.Array
리턴 void

OnConnection() 공개 메소드

Called upon startup. Keeps a reference to the current OneNote application object.
public OnConnection ( object Application, ext_ConnectMode ConnectMode, object AddInInst, Array &custom ) : void
Application object
ConnectMode ext_ConnectMode
AddInInst object
custom System.Array
리턴 void

OnStartupComplete() 공개 메소드

public OnStartupComplete ( Array &custom ) : void
custom System.Array
리턴 void

SetOneNoteApplication() 공개 메소드

public SetOneNoteApplication ( Microsoft.Office.Interop.OneNote.Application application ) : void
application Microsoft.Office.Interop.OneNote.Application
리턴 void

VanillaAddInButtonClicked() 공개 메소드

public VanillaAddInButtonClicked ( IRibbonControl control ) : Task
control IRibbonControl
리턴 Task