IUIService.ShowComponentEditor(Object, IWin32Window) Method
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to display a ComponentEditorForm for a component.
public:
bool ShowComponentEditor(System::Object ^ component, System::Windows::Forms::IWin32Window ^ parent);
public bool ShowComponentEditor(object component, System.Windows.Forms.IWin32Window parent);
abstract member ShowComponentEditor : obj * System.Windows.Forms.IWin32Window -> bool
Public Function ShowComponentEditor (component As Object, parent As IWin32Window) As Boolean
- component
- Object
The component for which to display a ComponentEditorForm.
- parent
- IWin32Window
The IWin32Window to parent any dialog boxes to.
true
if the attempt is successful; otherwise, false
.
The component does not support component editors.
A ComponentEditorForm is similar to a property page from the Component Object Model (COM).
If the component does not support component editors, an ArgumentException is thrown. To avoid this, be sure to call CanShowComponentEditor first.
Produkt | Verzie |
---|---|
.NET Framework | 1.1, 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Windows Desktop | 3.0, 3.1, 5, 6, 7, 8, 9, 10 |
Pripomienky k produktu .NET
.NET je open-source projekt. Ak chcete poskytnúť pripomienky, vyberte prepojenie: