FileAssociation Class
Represents a file name extension to be associated with the application.
MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0.
Inheritance Hierarchy
System.Object
Microsoft.Build.Tasks.Deployment.ManifestUtilities.FileAssociation
Namespace: Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly: Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public NotInheritable Class FileAssociation
[ComVisibleAttribute(false)]
public sealed class FileAssociation
[ComVisibleAttribute(false)]
public ref class FileAssociation sealed
[<Sealed>]
[<ComVisibleAttribute(false)>]
type FileAssociation = class end
public final class FileAssociation
The FileAssociation type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FileAssociation | Initializes a new instance of the FileAssociation class.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. |
Top
Properties
Name | Description | |
---|---|---|
DefaultIcon | Gets or sets the icon to use for files that use a particular Extension.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
Description | Gets or sets the description of the file type for use by the shell.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
Extension | Gets or sets the file name extension to be associated with the application.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
ProgId | Gets or sets the name that uniquely identifies the file association's file type.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
XmlDefaultIcon | Gets or sets a property that is used to serialize the file association's DefaultIcon property to an XML file.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
XmlDescription | Gets or sets a property that is used to serialize the file association's Description property to an XML file.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
XmlExtension | Gets or sets a property that is used to serialize the file association's Extension property to an XML file.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. | |
XmlProgId | Gets or sets a property that is used to serialize the ProgId property to an XML file.MSBuild is now included in Visual Studio instead of the .NET Framework. You can use MSBuild 12.0 side-by-side with versions previously deployed with the .NET Framework.For more information, see What's New in MSBuild 12.0. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
ToString | (Inherited from Object.) |
Top
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
See Also
Reference
Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace