Microsoft.ManagementConsole.PropertySheet.SetPropertyPageControl C# (CSharp) Method

SetPropertyPageControl() private method

private SetPropertyPageControl ( int pageId, Control control, IntPtr handle ) : void
pageId int
control System.Windows.Forms.Control
handle System.IntPtr
return void
        internal void SetPropertyPageControl(int pageId, Control control, IntPtr handle)
        {
            if (handle == IntPtr.Zero)
            {
                throw new ArgumentNullException("handle");
            }
            SetPropertyPageControlCommand command = new SetPropertyPageControlCommand();
            command.SheetId = this.Id;
            command.PageId = pageId;
            command.Handle = handle;
            command.Control = control;
            SnapInBase.SnapInInstance.SnapInPlatform.ProcessCommand(command);
        }