Share via


IAppxManifestDocument.SetSearchExtension Method

Definition

Sets the Search extension.

void SetSearchExtension(std::wstring const & executable, std::wstring const & entryPoint, std::wstring const & runtimeType, std::wstring const & startPage);
public void SetSearchExtension (string executable, string entryPoint, string runtimeType, string startPage);
abstract member SetSearchExtension : string * string * string * string -> unit
Public Sub SetSearchExtension (Optional executable As String, Optional entryPoint As String, Optional runtimeType As String, Optional startPage As String)

Parameters

executable
String

[in] The executable field of the app manifest. This parameter is optional.

entryPoint
String

[in] The entryPoint field of the app manifest. This parameter is optional.

runtimeType
String

[in] The runtimeType field of the app manifest. This parameter is optional.

startPage
String

[in] The startPage field of the app manifest. This parameter is optional.

Remarks

This method always overwrites any existing Search extension.

Applies to