IAppxManifestDocument.SetShareExtension Method
Sets the Share extension.
Namespace: Microsoft.VisualStudio.Shell.Interop
Assembly: Microsoft.VisualStudio.Shell.Interop.11.0 (in Microsoft.VisualStudio.Shell.Interop.11.0.dll)
Syntax
'Declaration
Function SetShareExtension ( _
executable As String, _
entryPoint As String, _
runtimeType As String, _
startPage As String _
) As IAppxShareExtension
IAppxShareExtension SetShareExtension(
string executable,
string entryPoint,
string runtimeType,
string startPage
)
IAppxShareExtension^ SetShareExtension(
[InAttribute] String^ executable,
[InAttribute] String^ entryPoint,
[InAttribute] String^ runtimeType,
[InAttribute] String^ startPage
)
abstract SetShareExtension :
executable:string *
entryPoint:string *
runtimeType:string *
startPage:string -> IAppxShareExtension
function SetShareExtension(
executable : String,
entryPoint : String,
runtimeType : String,
startPage : String
) : IAppxShareExtension
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.IAppxShareExtension
The Share extension object that provides access to additional data elements in the manifest.
.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.