VCMidlTool Interface
Programmatically accesses the properties in the MIDL folder of a project's Property Pages dialog box.
Namespace: Microsoft.VisualStudio.VCProjectEngine
Assembly: Microsoft.VisualStudio.VCProjectEngine (in Microsoft.VisualStudio.VCProjectEngine.dll)
Syntax
'宣告
<GuidAttribute("2A4AF0E7-BC7E-4D08-9A36-C07D68854D81")> _
Public Interface VCMidlTool
[GuidAttribute("2A4AF0E7-BC7E-4D08-9A36-C07D68854D81")]
public interface VCMidlTool
[GuidAttribute(L"2A4AF0E7-BC7E-4D08-9A36-C07D68854D81")]
public interface class VCMidlTool
[<GuidAttribute("2A4AF0E7-BC7E-4D08-9A36-C07D68854D81")>]
type VCMidlTool = interface end
public interface VCMidlTool
The VCMidlTool type exposes the following members.
Properties
Name | Description | |
---|---|---|
AdditionalIncludeDirectories | Gets or sets one or more directories to add to the include path. | |
AdditionalOptions | Gets or sets options to add to the end of the command line immediately before the file name(s). An example is if an option is not supported in the object model. | |
CPreprocessOptions | Gets or sets a C-compiler preprocessor option to pass to the MIDL compiler. | |
DefaultCharType | Gets or sets the default MIDL char type. | |
DLLDataFileName | Gets or sets the name of the DLLDATA file; default is dlldata.c. | |
EnableErrorChecks | Gets or sets checks error-checking option. If you select Custom, only selected error-checking options occur during compilation. | |
ErrorCheckAllocations | Gets or sets a value indicating whether to check for out-of-memory errors. | |
ErrorCheckBounds | Gets or sets a value indicating an error check of size versus transmission length specifications. | |
ErrorCheckEnumRange | Gets or sets a value indicating whether to error check that enumeration values are in allowable range. | |
ErrorCheckRefPointers | Gets or sets a value indicating whether to error check reference pointers for NULL. | |
ErrorCheckStubData | Gets or sets a value indicating whether to error check for server-side data stub validity. | |
ExecutionBucket | Infrastructure. Microsoft Internal Use Only. | |
FullIncludePath | Gets a list of all directories included in the build; a concatenation of directories specified with /I and the directories specified in the VC++ Directories dialog box. All macros present in these directories will be evaluated as well. | |
GenerateStublessProxies | Gets or sets a value indicating whether to generate stubless proxies. | |
GenerateTypeLibrary | Gets or sets a value indicating whether or not to generate a type library. | |
HeaderFileName | Gets or sets the name of the generated header file; default is idlfile.h. | |
IgnoreStandardIncludePath | Gets or sets a value indicating whether to ignore standard include path. | |
InterfaceIdentifierFileName | Gets or sets a name for the Interface Identifier file; default is idlfile_i.c. | |
MkTypLibCompatible | Gets or sets a value indicating whether to force compatibility with mktyplib.exe version 2.03. | |
OutputDirectory | Gets or sets the directory in which to place output. The default is the project's directory. | |
PreprocessorDefinitions | Gets or sets one or more preprocessor defines. | |
ProxyFileName | Gets or sets the name of the proxy file; default is idlfile_p.c. | |
RedirectOutputAndErrors | Gets or sets the file name to which screen output and errors are written. | |
StructMemberAlignment | Gets or sets 1-, 2-, 4-, 8-, or 16-byte boundaries for struct member alignment. | |
SuppressStartupBanner | Gets or sets a value indicating whether to suppress the display of the startup banner and information messages. | |
TargetEnvironment | Gets or sets the environment to target. | |
ToolKind | Gets the name of the kind of tool this is. | |
toolName | Gets the name of the specified tool. | |
ToolPath | Gets the path to the specified tool. | |
TypeLibraryName | Gets the name of the ActiveX (COM) type library reference. | |
UndefinePreprocessorDefinitions | Gets or sets one or more preprocessor undefines. | |
ValidateParameters | Gets or sets a value indicating whether to enable the generation of parameter validation information. | |
VCProjectEngine | Gets a pointer to the project engine. | |
WarnAsError | Gets or sets a value indicating whether the compiler treats all warnings as errors. | |
WarningLevel | Gets or sets a value indicating how strictly the compiler checks for potentially suspect constructs. |
Top
Methods
Name | Description | |
---|---|---|
get_PropertyOption | Infrastructure. Microsoft Internal Use Only. |
Top
Remarks
See Modifying Project Settings for information about how to access a project's Property Pages dialog box.