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
'宣言
<GuidAttribute("EEDA4124-EC69-4309-8D18-B1044D5BE868")> _
Public Interface IPublishFile2 _
Inherits IPublishFile
[GuidAttribute("EEDA4124-EC69-4309-8D18-B1044D5BE868")]
public interface IPublishFile2 : IPublishFile
The IPublishFile2 type exposes the following members.
Properties
Name | Description | |
---|---|---|
Group | Gets and sets the published group. (Inherited from IPublishFile.) | |
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 whether or not the interface's file is an assembly. (Inherited from IPublishFile.) | |
IsAssembly | Gets a value that indicates whether the file is an assembly. | |
IsDataFile | Gets whether or not the file is a data file. (Inherited from IPublishFile.) | |
IsDataFile | Gets a value that indicates whether the file is a data file. | |
IsOrphaned | Gets whether or not the file cannot be mapped to an item in the project. (Inherited from IPublishFile.) | |
IsOrphaned | Gets a value that indicates whether the file cannot be mapped to a file in the project. | |
IsPrerequisite | Gets whether or not the file is a prerequisite for deployment. (Inherited from IPublishFile.) | |
IsPrerequisite | Gets a value that indicates whether the file is a prerequisite for the deployment. | |
IsPublished | Gets whether or not the file is to be deployed. (Inherited from IPublishFile.) | |
IsPublished | Gets a value that indicates whether the file will be deployed. | |
IsReadOnly | Gets whether or not the file is read-only. (Inherited from IPublishFile.) | |
IsReadOnly | Gets a value that indicates whether the file is required. | |
Name | Gets the name of the file. (Inherited from IPublishFile.) | |
Name | Gets the local name of the file. | |
PublishStatus | Gets or sets the current status of the file. (Inherited from IPublishFile.) | |
PublishStatus | Gets or sets a value that indicates how a file should be treated by the build system. | |
TargetPath | Gets or sets the target path of this file. (Inherited from IPublishFile.) | |
TargetPath | Gets or sets the target name of the file. |
Top
Methods
Name | Description | |
---|---|---|
Reset() | Returns this file to the default state. (Inherited from IPublishFile.) | |
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.