VCMidlTool.GenerateStublessProxies Eigenschaft

Definition

Ruft einen Wert ab, der angibt, ob stuflose Proxys generiert werden sollen

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

Eigenschaftswert

Boolean

true , wenn stublose Proxys generiert werden. andernfalls false .

Attribute

Beispiele

Weitere Informationen zum Kompilieren und Ausführen dieses Beispiels finden Sie unter Gewusst wie: Kompilieren von Beispiel Code für die Erweiterbarkeit von Projekt Modellen .

Im folgenden Beispiel wird die- GenerateStublessProxies Eigenschaft in der integrierten Entwicklungsumgebung (Integrated Development Environment, IDE) geändert:

[Visual Basic]

' 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 VCMidlTool  
        prj = DTE.Solution.Projects.Item(1).Object  
        cfgs = prj.Configurations  
        cfg = cfgs.Item(1)  
        tool = cfg.Tools("VCMIDLTool")  
        tool.GenerateStublessProxies = True  
    End Sub  
End Module  

Hinweise

GenerateStublessProxies macht die Funktionalität der/Oicf-Mittell-Option verfügbar.

Gilt für