VCLinkerTool.IgnoreEmbeddedIDL 属性

定义

获取或设置一个值,该值指示是否忽略对象文件的 .idlsym 嵌入部分。

public:
 property bool IgnoreEmbeddedIDL { bool get(); void set(bool value); };
public:
 property bool IgnoreEmbeddedIDL { bool get(); void set(bool value); };
[System.Runtime.InteropServices.DispId(41)]
public bool IgnoreEmbeddedIDL { [System.Runtime.InteropServices.DispId(41)] get; [System.Runtime.InteropServices.DispId(41)] set; }
[<System.Runtime.InteropServices.DispId(41)>]
[<get: System.Runtime.InteropServices.DispId(41)>]
[<set: System.Runtime.InteropServices.DispId(41)>]
member this.IgnoreEmbeddedIDL : bool with get, set
Public Property IgnoreEmbeddedIDL As Boolean

属性值

Boolean

如果忽略对象文件的嵌入 .idlsym 部分,则为 true;否则为 false

属性

示例

下面的示例在 IgnoreEmbeddedIDL 集成开发环境 (IDE) 中修改属性:

' add reference to Microsoft.VisualStudio.VCProjectEngine  
Imports EnvDTE  
Imports Microsoft.VisualStudio.VCProjectEngine  

Public Module Module1  
  Sub Test()  
    Dim prj As VCProject  
    Dim cfgs, tools As IVCCollection  
    Dim cfg As VCConfiguration  
    Dim tool As VCLinkerTool  
    prj = DTE.Solution.Projects.Item(1).Object  
    cfgs = prj.Configurations  
    cfg = cfgs.Item(1)  
    tool = cfg.Tools("VCLinkerTool")  
    tool.IgnoreEmbeddedIDL = True  
  End Sub  
End Module  

注解

IgnoreEmbeddedIDL 公开/IGNOREIDL 的功能 (不要将属性处理到 MIDL) 链接器选项中。

适用于