IPropertyEditingService.EditProperties Method
Definition
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.
Launches a user interface (UI) that enables you to change the properties of the specified object.
Overloads
EditProperties(IServiceProvider, IPropertyEditingUser, Object, String, String) |
Launches a user interface (UI) that enables you to change the properties of the specified object. |
EditProperties(IServiceProvider, IPropertyEditingUser, Object, String, String, EventHandler) |
Launches a user interface (UI) that enables you to change the properties of the specified object and specifies an event handler to show the Help for the topic. |
EditProperties(IServiceProvider, IPropertyEditingUser, Object, String, String)
Launches a user interface (UI) that enables you to change the properties of the specified object.
public:
bool EditProperties(IServiceProvider ^ serviceProvider, Microsoft::Web::Management::Client::IPropertyEditingUser ^ user, System::Object ^ targetObject, System::String ^ titleText, System::String ^ helpText);
public bool EditProperties (IServiceProvider serviceProvider, Microsoft.Web.Management.Client.IPropertyEditingUser user, object targetObject, string titleText, string helpText);
abstract member EditProperties : IServiceProvider * Microsoft.Web.Management.Client.IPropertyEditingUser * obj * string * string -> bool
Public Function EditProperties (serviceProvider As IServiceProvider, user As IPropertyEditingUser, targetObject As Object, titleText As String, helpText As String) As Boolean
Parameters
- serviceProvider
- IServiceProvider
The IServiceProvider interface.
- user
- IPropertyEditingUser
An object that implements the IPropertyEditingUser interface.
- targetObject
- Object
The object to be edited.
- titleText
- String
The title for the edit dialog box.
- helpText
- String
Information to be displayed in a label on the edit dialog box.
Returns
true
if the properties of the specified object were changed; otherwise, false
.
Remarks
This method enables you to change the properties of the target object.
Applies to
EditProperties(IServiceProvider, IPropertyEditingUser, Object, String, String, EventHandler)
Launches a user interface (UI) that enables you to change the properties of the specified object and specifies an event handler to show the Help for the topic.
public:
bool EditProperties(IServiceProvider ^ serviceProvider, Microsoft::Web::Management::Client::IPropertyEditingUser ^ user, System::Object ^ targetObject, System::String ^ titleText, System::String ^ helpText, EventHandler ^ showHelp);
public bool EditProperties (IServiceProvider serviceProvider, Microsoft.Web.Management.Client.IPropertyEditingUser user, object targetObject, string titleText, string helpText, EventHandler showHelp);
abstract member EditProperties : IServiceProvider * Microsoft.Web.Management.Client.IPropertyEditingUser * obj * string * string * EventHandler -> bool
Public Function EditProperties (serviceProvider As IServiceProvider, user As IPropertyEditingUser, targetObject As Object, titleText As String, helpText As String, showHelp As EventHandler) As Boolean
Parameters
- serviceProvider
- IServiceProvider
The IServiceProvider interface.
- user
- IPropertyEditingUser
An object that implements the IPropertyEditingUser interface.
- targetObject
- Object
The object to be edited.
- titleText
- String
The title for the edit dialog box.
- helpText
- String
Information to be displayed in a label on the edit dialog box.
- showHelp
- EventHandler
The EventHandler object that is called if the user clicks the Help button on the edit dialog box.
Returns
true
if the properties of the specified object were changed; otherwise, false
.
Remarks
This method enables you to change the properties of the target object and enables you to specify the System.EventHandler object for the Help text.