This documentation is archived and is not being maintained.
FileAssociation Class
Visual Studio 2010
Represents a file name extension to be associated with the application.
Assembly: Microsoft.Build.Tasks.v4.0 (in Microsoft.Build.Tasks.v4.0.dll)
The FileAssociation type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | 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. |
| Name | Description | |
|---|---|---|
![]() | Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
![]() | Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
![]() | GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | ToString | Returns a string that represents the current object. (Inherited from Object.) |
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show:
