IAppxManifestDocument.GetSearchExtension Method

Definition

Gets the Search extension.

public:
 bool GetSearchExtension([Runtime::InteropServices::Out] System::String ^ % executable, [Runtime::InteropServices::Out] System::String ^ % entryPoint, [Runtime::InteropServices::Out] System::String ^ % runtimeType, [Runtime::InteropServices::Out] System::String ^ % startPage);
bool GetSearchExtension([Runtime::InteropServices::Out] std::wstring const & & executable, [Runtime::InteropServices::Out] std::wstring const & & entryPoint, [Runtime::InteropServices::Out] std::wstring const & & runtimeType, [Runtime::InteropServices::Out] std::wstring const & & startPage);
public bool GetSearchExtension (out string executable, out string entryPoint, out string runtimeType, out string startPage);
abstract member GetSearchExtension : string * string * string * string -> bool
Public Function GetSearchExtension (ByRef executable As String, ByRef entryPoint As String, ByRef runtimeType As String, ByRef startPage As String) As Boolean

Parameters

executable
String

[out] The executable field of the app manifest.

entryPoint
String

[out] The entryPoint field of the app manifest.

runtimeType
String

[out] The runtimeType field of the app manifest.

startPage
String

[out] The startPage field of the app manifest.

Returns

true if there is a Search extension associated with the manifest.

Remarks

Because at most one Search extension is allowed per manifest, there is no ambiguity as to which data is returned by this method.

Applies to