IAppxManifestDocument.SetShareExtension Method

Definition

Sets the Share extension.

Microsoft::VisualStudio::Shell::Interop::IAppxShareExtension SetShareExtension(std::wstring const & executable, std::wstring const & entryPoint, std::wstring const & runtimeType, std::wstring const & startPage);
public Microsoft.VisualStudio.Shell.Interop.IAppxShareExtension SetShareExtension (string executable, string entryPoint, string runtimeType, string startPage);
abstract member SetShareExtension : string * string * string * string -> Microsoft.VisualStudio.Shell.Interop.IAppxShareExtension
Public Function SetShareExtension (Optional executable As String, Optional entryPoint As String, Optional runtimeType As String, Optional startPage As String) As IAppxShareExtension

Parameters

executable
String

[in] The executable field of the app manifest. This parameter is optional.

entryPoint
String

[in] The entryPoint field of the app manifest. This parameter is optional.

runtimeType
String

[in] The runtimeType field of the app manifest. This parameter is optional.

startPage
String

[in] The startPage field of the app manifest. This parameter is optional.

Returns

The Share extension object that provides access to additional data elements in the manifest.

Applies to