VCPropertySheet Interface

Definition

Provides access to the project engine property sheets.

[System.Runtime.InteropServices.Guid("75D6BB37-482D-4CDE-9634-CA4C0E8D4153")]
[System.Runtime.InteropServices.TypeLibType(System.Runtime.InteropServices.TypeLibTypeFlags.FDual | System.Runtime.InteropServices.TypeLibTypeFlags.FDispatchable)]
public interface VCPropertySheet
Attributes

Properties

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.

BuildLogFile

Gets or sets the BuildLogFile name.

CharacterSet

Gets or sets a value specifying the character set for the compiler to use.

ConfigurationType

Gets or sets the type of output this configuration generates.

DeleteExtensionsOnClean

Gets or sets which files in the intermediate directory to delete on clean or rebuild.

DEPRECATED1

Microsoft Internal Use Only.

EnableManagedIncrementalBuild

Deprecated.

FileEncoding

Microsoft Internal Use Only.

FileFormat

Microsoft Internal Use Only.

FileTools

Lists the available tools that operate on files.

InheritedPropertySheets

Gets or sets property sheets inherited by this object.

IntermediateDirectory

Gets or sets a relative path to the intermediate file directory. The path can include environment variables.

IsDirty

Microsoft Internal Use Only.

IsSystemPropertySheet

Indicates if this is a system property sheet.

ManagedExtensions

Gets or sets a value indicating that this configuration uses Visual C++.

Name

Gets or sets the name of the object.

OutputDirectory

Gets or sets the directory in which to place output. The default directory is the project directory.

PropertySheetDirectory

Gets the directory name for the property sheet.

PropertySheetFile

Sets or gets the full path to the property sheet file. Includes the file name.

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.

PropertySheets

Gets the collection of property sheets applied to the object.

Rules

Gets a collection of IVCRulePropertyStorage objects that can modify to project-level properties and default item metadata defined in this property sheet.

Tools

Lists the available tools for the platform.

useOfATL

Gets or sets a value that specifies how ATL is used by the configuration.

useOfMfc

Gets or sets a value that specifies how MFC is used by the configuration.

UserMacros

Gets the collection of user macros.

VCProjectEngine

Gets a pointer to the project engine.

WholeProgramOptimization

Gets or sets a value indicating whether to enable cross-module optimizations by delaying code generation to link time.

Methods

AddPropertySheet(String)

Adds a property sheet to the collection of property sheets directly imported by a property sheet.

AddUserMacro(String, String)

Adds a user macro to the property sheet.

ClearToolProperty(Object, String)

Clears the property value of a tool property.

MatchName(String, Boolean)

Matches a specified name to the name of a collection item.

MovePropertySheet(VCPropertySheet, Boolean)

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.

RemoveAllUserMacros()

Removes all user macros from the property sheet.

RemovePropertySheet(VCPropertySheet)

Removes a property sheet from the collection of property sheets directly imported by a property sheet.

RemoveUserMacro(VCUserMacro)

Removes a user macro from the property sheet.

Save()

Saves the project file (.vcxproj).

Applies to