次の方法で共有


IPublishFile2 Interface

Definition

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

public interface class IPublishFile2 : Microsoft::VisualStudio::ManagedInterfaces::Publish::IPublishFile
public interface class IPublishFile2 : Microsoft::VisualStudio::ManagedInterfaces::Publish::IPublishFile
__interface IPublishFile2 : Microsoft::VisualStudio::ManagedInterfaces::Publish::IPublishFile
[System.Runtime.InteropServices.Guid("EEDA4124-EC69-4309-8D18-B1044D5BE868")]
public interface IPublishFile2 : Microsoft.VisualStudio.ManagedInterfaces.Publish.IPublishFile
[<System.Runtime.InteropServices.Guid("EEDA4124-EC69-4309-8D18-B1044D5BE868")>]
type IPublishFile2 = interface
    interface IPublishFile
Public Interface IPublishFile2
Implements IPublishFile
Attributes
Implements

Properties

Group

Gets or sets the download group for this file.

IncludeHash

Gets or sets a value that indicates whether to include the hash of the file in the output manifest.

IsAssembly

Gets a value that indicates whether the file is an assembly.

IsDataFile

Gets a value that indicates whether the file is a data file.

IsOrphaned

Gets a value that indicates whether the file cannot be mapped to a file in the project.

IsPrerequisite

Gets a value that indicates whether the file is a prerequisite for the deployment.

IsPublished

Gets a value that indicates whether the file will be deployed.

IsReadOnly

Gets a value that indicates whether the file is required.

Name

Gets the local name of the file.

PublishStatus

Gets or sets a value that indicates how a file should be treated by the build system.

TargetPath

Gets or sets the target name of the file.

Methods

Reset()

Sets file properties to their default values.

Applies to