Bagikan melalui


IAppxManifestDocument.SetFileOpenPickerExtension Method

Sets the File Open Picker extension.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)

Syntax

'Declaration
Function SetFileOpenPickerExtension ( _
    executable As String, _
    entryPoint As String, _
    runtimeType As String, _
    startPage As String _
) As IAppxFileOpenPickerExtension
IAppxFileOpenPickerExtension SetFileOpenPickerExtension(
    string executable,
    string entryPoint,
    string runtimeType,
    string startPage
)
IAppxFileOpenPickerExtension^ SetFileOpenPickerExtension(
    [InAttribute] String^ executable, 
    [InAttribute] String^ entryPoint, 
    [InAttribute] String^ runtimeType, 
    [InAttribute] String^ startPage
)
abstract SetFileOpenPickerExtension : 
        executable:string * 
        entryPoint:string * 
        runtimeType:string * 
        startPage:string -> IAppxFileOpenPickerExtension
function SetFileOpenPickerExtension(
    executable : String, 
    entryPoint : String, 
    runtimeType : String, 
    startPage : String
) : IAppxFileOpenPickerExtension

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.

Return Value

Type: Microsoft.VisualStudio.Shell.Interop.IAppxFileOpenPickerExtension
The File Open Picker extension object that provides access to additional data elements in the manifest.

.NET Framework Security

See Also

Reference

IAppxManifestDocument Interface

Microsoft.VisualStudio.Shell.Interop Namespace