Partager via


IAppxManifestDocument2.GetSearchExtension Method

Gets 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
Function GetSearchExtension ( _
    <OutAttribute> ByRef executable As String, _
    <OutAttribute> ByRef entryPoint As String, _
    <OutAttribute> ByRef runtimeType As String, _
    <OutAttribute> ByRef startPage As String _
) As Boolean
bool GetSearchExtension(
    out string executable,
    out string entryPoint,
    out string runtimeType,
    out string startPage
)
bool GetSearchExtension(
    [OutAttribute] String^% executable, 
    [OutAttribute] String^% entryPoint, 
    [OutAttribute] String^% runtimeType, 
    [OutAttribute] String^% startPage
)
abstract GetSearchExtension : 
        executable:string byref * 
        entryPoint:string byref * 
        runtimeType:string byref * 
        startPage:string byref -> bool
function GetSearchExtension(
    executable : String, 
    entryPoint : String, 
    runtimeType : String, 
    startPage : String
) : boolean

Parameters

  • executable
    Type: String%

    [out] The executable field of the app manifest.

  • entryPoint
    Type: String%

    [out] The entryPoint field of the app manifest.

  • runtimeType
    Type: String%

    [out] The runtimeType field of the app manifest.

  • startPage
    Type: String%

    [out] The startPage field of the app manifest.

Return Value

Type: Boolean
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.

.NET Framework Security

See Also

Reference

IAppxManifestDocument2 Interface

Microsoft.VisualStudio.Shell.Interop Namespace