desktop2:OleClass

Enables OLE to get the OLE class registered for a given file extension.

Element hierarchy

<Package>

    <Applications>

         <Application>

              <Extensions>

                   <uap:Extension>

                        <uap:FileTypeAssociation>

                             <desktop2:OleClass>

Syntax

<desktop2:OleClass
  Clsid = A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. />

Attributes and elements

Attributes

Attribute Description Data type Required Default value
Clsid The ID of a COM class registered in the <ComServer> element. A GUID in the form xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx. Yes

Child elements

None.

Parent elements

Parent element Description
uap:FileTypeAssociation Declares an app extensibility point of type windows.fileTypeAssociation. A file type association indicates that the app is registered to handle files of the specified types.

Remarks

A <desktop2:OleClass> element can only exist under a <FileTypeAssociation> element that is defined with an <Application> element that has: EntryPoint="windows.FullTrustApplication".

Requirements

Item Value
Namespace http://schemas.microsoft.com/appx/manifest/desktop/windows10/2
Minimum OS Version Windows 10 version 1703 (Build 15063)