Compartilhar via


VCPropertySheet Interface

Provides access to the project engine property sheets.

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

Syntax

'Declaration
<GuidAttribute("BDB8598C-494B-46ED-983E-35F08FBC6E83")> _
Public Interface VCPropertySheet
[GuidAttribute("BDB8598C-494B-46ED-983E-35F08FBC6E83")]
public interface VCPropertySheet
[GuidAttribute(L"BDB8598C-494B-46ED-983E-35F08FBC6E83")]
public interface class VCPropertySheet
[<GuidAttribute("BDB8598C-494B-46ED-983E-35F08FBC6E83")>]
type VCPropertySheet =  interface end
public interface VCPropertySheet

The VCPropertySheet type exposes the following members.

Properties

  Name Description
Public property ATLMinimizesCRunTimeLibraryUsage Gets or sets a value indicating whether ATL will link to the C runtime libraries statically to minimize dependencies. This requires that the useOfATL property is set.
Public property BuildLogFile Gets or sets the BuildLogFile name.
Public property CharacterSet Gets or sets a value specifying the character set for the compiler to use.
Public property ConfigurationType Gets or sets the type of output this configuration generates.
Public property DeleteExtensionsOnClean Gets or sets which files in the intermediate directory to delete on clean or rebuild.
Public property DEPRECATED1 Infrastructure. Microsoft Internal Use Only.
Public property EnableManagedIncrementalBuild Deprecated.
Public property FileEncoding Infrastructure. Microsoft Internal Use Only.
Public property FileFormat Infrastructure. Microsoft Internal Use Only.
Public property FileTools Lists the available tools that operate on files.
Public property InheritedPropertySheets Gets or sets property sheets inherited by this object.
Public property IntermediateDirectory Gets or sets a relative path to the intermediate file directory. The path can include environment variables.
Public property IsDirty Infrastructure. Microsoft Internal Use Only.
Public property IsSystemPropertySheet Indicates if this is a system property sheet.
Public property ManagedExtensions Gets or sets a value indicating that this configuration uses Visual C++.
Public property Name Gets or sets the name of the object.
Public property OutputDirectory Gets or sets the directory in which to place output. The default directory is the project directory.
Public property PropertySheetDirectory Gets the directory name for the property sheet.
Public property PropertySheetFile Sets or gets the full path to the property sheet file. Includes the file name.
Public property PropertySheetName Sets or gets the value of the Name tag in the property sheet file. This property is available only for backwards compatibility and should otherwise not be used.
Public property PropertySheets Gets the collection of property sheets applied to the object.
Public property Rules Gets a collection of IVCRulePropertyStorage objects that can modify to project-level properties and default item metadata defined in this property sheet.
Public property Tools Lists the available tools for the platform.
Public property useOfATL Gets or sets a value that specifies how ATL is used by the configuration.
Public property useOfMfc Gets or sets a value that specifies how MFC is used by the configuration.
Public property UserMacros Gets the collection of user macros.
Public property VCProjectEngine Gets a pointer to the project engine.
Public property WholeProgramOptimization Gets or sets a value indicating whether to enable cross-module optimizations by delaying code generation to link time.

Top

Methods

  Name Description
Public method AddPropertySheet Adds a property sheet to the collection of property sheets directly imported by a property sheet.
Public method AddUserMacro Adds a user macro to the property sheet.
Public method ClearToolProperty Clears the property value of a tool property.
Public method MatchName Matches a specified name to the name of a collection item.
Public method MovePropertySheet Moves an imported property sheet one position before or after in the evaluation order. Position here refers to its relative locations among all the property sheets directly imported by this property sheet.
Public method RemoveAllUserMacros Removes all user macros from the property sheet.
Public method RemovePropertySheet Removes a property sheet from the collection of property sheets directly imported by a property sheet.
Public method RemoveUserMacro Removes a user macro from the property sheet.
Public method Save Saves the project file (.vcxproj).

Top

See Also

Reference

Microsoft.VisualStudio.VCProjectEngine Namespace