IAppxManifestDocument.SetSearchExtension Method
Sets the Search extension.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Sub SetSearchExtension ( _
executable As String, _
entryPoint As String, _
runtimeType As String, _
startPage As String _
)
void SetSearchExtension(
string executable,
string entryPoint,
string runtimeType,
string startPage
)
void SetSearchExtension(
[InAttribute] String^ executable,
[InAttribute] String^ entryPoint,
[InAttribute] String^ runtimeType,
[InAttribute] String^ startPage
)
abstract SetSearchExtension :
executable:string *
entryPoint:string *
runtimeType:string *
startPage:string -> unit
function SetSearchExtension(
executable : String,
entryPoint : String,
runtimeType : String,
startPage : String
)
Parameters
executable
Type: String[in] The executable field of the app manifest. This parameter is optional.
entryPoint
Type: String[in] The entryPoint field of the app manifest. This parameter is optional.
runtimeType
Type: String[in] The runtimeType field of the app manifest. This parameter is optional.
startPage
Type: String[in] The startPage field of the app manifest. This parameter is optional.
Remarks
This method always overwrites any existing Search extension.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.