Freigeben über


IPublishFile2 Interface

Defines the ClickOnce properties of one file in a deployment on computers that have Visual Studio 2008 Service Pack 1 or later versions.

Namespace:  Microsoft.VisualStudio.ManagedInterfaces.Publish
Assembly:  Microsoft.VisualStudio.ManagedInterfaces.9.0 (in Microsoft.VisualStudio.ManagedInterfaces.9.0.dll)

Syntax

'Declaration
<GuidAttribute("EEDA4124-EC69-4309-8D18-B1044D5BE868")> _
Public Interface IPublishFile2 _
    Inherits IPublishFile
[GuidAttribute("EEDA4124-EC69-4309-8D18-B1044D5BE868")]
public interface IPublishFile2 : IPublishFile
[GuidAttribute(L"EEDA4124-EC69-4309-8D18-B1044D5BE868")]
public interface class IPublishFile2 : IPublishFile
[<GuidAttribute("EEDA4124-EC69-4309-8D18-B1044D5BE868")>]
type IPublishFile2 =  
    interface 
        interface IPublishFile 
    end
public interface IPublishFile2 extends IPublishFile

The IPublishFile2 type exposes the following members.

Properties

  Name Description
Public property Group Gets or sets the download group for this file.
Public property IncludeHash Gets or sets a value that indicates whether to include the hash of the file in the output manifest.
Public property IsAssembly Gets a value that indicates whether the file is an assembly.
Public property IsDataFile Gets a value that indicates whether the file is a data file.
Public property IsOrphaned Gets a value that indicates whether the file cannot be mapped to a file in the project.
Public property IsPrerequisite Gets a value that indicates whether the file is a prerequisite for the deployment.
Public property IsPublished Gets a value that indicates whether the file will be deployed.
Public property IsReadOnly Gets a value that indicates whether the file is required.
Public property Name Gets the local name of the file.
Public property PublishStatus Gets or sets a value that indicates how a file should be treated by the build system.
Public property TargetPath Gets or sets the target name of the file.

Top

Methods

  Name Description
Public method Reset Sets file properties to their default values.

Top

Remarks

This interface is only available to products that run in Visual Studio 2008 Service Pack 1 or later versions.

See Also

Reference

Microsoft.VisualStudio.ManagedInterfaces.Publish Namespace

IPublishProperties3