FileAssociation.DefaultIcon Property

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.

Namespace:  Microsoft.Build.Tasks.Deployment.ManifestUtilities
Assembly:  Microsoft.Build.Tasks.Core (in Microsoft.Build.Tasks.Core.dll)

Syntax

'Declaration
Public Property DefaultIcon As String
public string DefaultIcon { get; set; }
public:
property String^ DefaultIcon {
    String^ get ();
    void set (String^ value);
}
member DefaultIcon : string with get, set
function get DefaultIcon () : String 
function set DefaultIcon (value : String)

Property Value

Type: System.String
The name of the file that contains the icon.

.NET Framework Security

See Also

Reference

FileAssociation Class

Microsoft.Build.Tasks.Deployment.ManifestUtilities Namespace