Delen via


FileAssociation Class

Definition

Describes a fileAssociation for an application manifest

public ref class FileAssociation sealed
[System.Runtime.InteropServices.ComVisible(false)]
public sealed class FileAssociation
[<System.Runtime.InteropServices.ComVisible(false)>]
type FileAssociation = class
Public NotInheritable Class FileAssociation
Inheritance
FileAssociation
Attributes

Constructors

FileAssociation()

Initializes a new instance of the FileAssociation class.

Properties

DefaultIcon

Gets or sets the icon to use for files that use a particular Extension.

Description

Gets or sets the description of the file type for use by the shell.

Extension

Gets or sets the file name extension to be associated with the application.

ProgId

Gets or sets the name that uniquely identifies the file association's file type.

XmlDefaultIcon

Gets or sets a property that is used to serialize the file association's DefaultIcon property to an XML file.

XmlDescription

Gets or sets a property that is used to serialize the file association's Description property to an XML file.

XmlExtension

Gets or sets a property that is used to serialize the file association's Extension property to an XML file.

XmlProgId

Gets or sets a property that is used to serialize the ProgId property to an XML file.

Applies to