IAppxManifestDocument2.SetSearchExtension Method

Sets the Search extension.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.12.0 (in Microsoft.VisualStudio.Shell.Interop.12.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

See Also

Reference

IAppxManifestDocument2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace