共用方式為


VCFileConfiguration Interface

The VCFileConfiguration object contains build information about a file (VCFile object), including such things as what tool is attached to the file for that configuration.

Namespace:  Microsoft.VisualStudio.VCProjectEngine
Assembly:  Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)

Syntax

'宣告
<GuidAttribute("E079977A-E4BD-4B92-8DD6-2DC1D170172C")> _
Public Interface VCFileConfiguration
[GuidAttribute("E079977A-E4BD-4B92-8DD6-2DC1D170172C")]
public interface VCFileConfiguration
[GuidAttribute(L"E079977A-E4BD-4B92-8DD6-2DC1D170172C")]
public interface class VCFileConfiguration
[<GuidAttribute("E079977A-E4BD-4B92-8DD6-2DC1D170172C")>]
type VCFileConfiguration =  interface end
public interface VCFileConfiguration

The VCFileConfiguration type exposes the following members.

Properties

  Name Description
Public property ExcludedFromBuild Gets or sets a value indicating whether this item is excluded from the build.
Public property File Gets the file in which this VCFileConfiguration object is declared.
Public property Name Gets or sets the name of the object.
Public property OutputUpToDate Gets a value indicating whether the output of the specified file is up to date.
Public property Parent Gets the immediate parent object of a given object.
Public property ProjectConfiguration The project configuration associated with the selected file configuration.
Public property Tool Gets or sets the tool that will build the file.
Public property VCProjectEngine Returns a pointer to the project engine.

Top

Methods

  Name Description
Public method Compile Compiles the selected file or reference.
Public method Evaluate Evaluates the value of a project model or environment macro. See Macros for Build Commands and Properties for more information about these macros.
Public method MatchName Matches a specified name to the name of a collection item.

Top

See Also

Reference

Microsoft.VisualStudio.VCProjectEngine Namespace