CmisSync.RepositoryMenuItem.Dispose C# (CSharp) Метод

Dispose() публичный Метод

Dispose the specified Menu Item.
public Dispose ( bool disposing ) : void
disposing bool If set to true disposing.
Результат void
        public void Dispose(bool disposing) {
            if (this.disposed) {
                return;
            }

            if (disposing) {
                if (this.editItem != null) {
                    this.editItem.Dispose();
                }

                if (this.statusItem != null) {
                    this.statusItem.Dispose();
                }

                if (this.suspendItem != null) {
                    this.suspendItem.Dispose();
                }

                if (this.openLocalFolderItem != null) {
                    this.openLocalFolderItem.Dispose();
                }

                if (this.separator1 != null) {
                    this.separator1.Dispose();
                }

                if (this.separator2 != null) {
                    this.separator2.Dispose();
                }

                if (this.removeFolderFromSyncItem != null) {
                    this.removeFolderFromSyncItem.Dispose();
                }
            }

            this.disposed = true;
        }

Same methods

RepositoryMenuItem::Dispose ( ) : void