共用方式為


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
Public property AdditionalIncludeDirectories Gets or sets one or more directories to add to the include path.
Public property 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.
Public property CPreprocessOptions Gets or sets a C-compiler preprocessor option to pass to the MIDL compiler.
Public property DefaultCharType Gets or sets the default MIDL char type.
Public property DLLDataFileName Gets or sets the name of the DLLDATA file; default is dlldata.c.
Public property EnableErrorChecks Gets or sets checks error-checking option. If you select Custom, only selected error-checking options occur during compilation.
Public property ErrorCheckAllocations Gets or sets a value indicating whether to check for out-of-memory errors.
Public property ErrorCheckBounds Gets or sets a value indicating an error check of size versus transmission length specifications.
Public property ErrorCheckEnumRange Gets or sets a value indicating whether to error check that enumeration values are in allowable range.
Public property ErrorCheckRefPointers Gets or sets a value indicating whether to error check reference pointers for NULL.
Public property ErrorCheckStubData Gets or sets a value indicating whether to error check for server-side data stub validity.
Public property ExecutionBucket Infrastructure. Microsoft Internal Use Only.
Public property 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.
Public property GenerateStublessProxies Gets or sets a value indicating whether to generate stubless proxies.
Public property GenerateTypeLibrary Gets or sets a value indicating whether or not to generate a type library.
Public property HeaderFileName Gets or sets the name of the generated header file; default is idlfile.h.
Public property IgnoreStandardIncludePath Gets or sets a value indicating whether to ignore standard include path.
Public property InterfaceIdentifierFileName Gets or sets a name for the Interface Identifier file; default is idlfile_i.c.
Public property MkTypLibCompatible Gets or sets a value indicating whether to force compatibility with mktyplib.exe version 2.03.
Public property OutputDirectory Gets or sets the directory in which to place output. The default is the project's directory.
Public property PreprocessorDefinitions Gets or sets one or more preprocessor defines.
Public property ProxyFileName Gets or sets the name of the proxy file; default is idlfile_p.c.
Public property RedirectOutputAndErrors Gets or sets the file name to which screen output and errors are written.
Public property StructMemberAlignment Gets or sets 1-, 2-, 4-, 8-, or 16-byte boundaries for struct member alignment.
Public property SuppressStartupBanner Gets or sets a value indicating whether to suppress the display of the startup banner and information messages.
Public property TargetEnvironment Gets or sets the environment to target.
Public property ToolKind Gets the name of the kind of tool this is.
Public property toolName Gets the name of the specified tool.
Public property ToolPath Gets the path to the specified tool.
Public property TypeLibraryName Gets the name of the ActiveX (COM) type library reference.
Public property UndefinePreprocessorDefinitions Gets or sets one or more preprocessor undefines.
Public property ValidateParameters Gets or sets a value indicating whether to enable the generation of parameter validation information.
Public property VCProjectEngine Gets a pointer to the project engine.
Public property WarnAsError Gets or sets a value indicating whether the compiler treats all warnings as errors.
Public property WarningLevel Gets or sets a value indicating how strictly the compiler checks for potentially suspect constructs.

Top

Methods

  Name Description
Public method 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.

See Also

Reference

Microsoft.VisualStudio.VCProjectEngine Namespace