IInterfaceInfo.Functions Özellik

Tanım

Üst nesne için bir işlev koleksiyonunu alır.

public:
 property System::Object ^ Functions { System::Object ^ get(); };
public:
 property Platform::Object ^ Functions { Platform::Object ^ get(); };
[System.Runtime.InteropServices.DispId(1610743813)]
public object Functions { [System.Runtime.InteropServices.DispId(1610743813)] get; }
[<System.Runtime.InteropServices.DispId(1610743813)>]
[<get: System.Runtime.InteropServices.DispId(1610743813)>]
member this.Functions : obj
Public ReadOnly Property Functions As Object

Özellik Değeri

Object

Üst nesne için bir işlevler koleksiyonu.

Öznitelikler

Örnekler

Bu örnek, tüm genel işlevlerin bir koleksiyonunu alır ve adlarını görüntüler.

Sub GetGlobalFunctions()  
    Dim vcElement As VCCodeElement  
    Dim vcElements As VCCodeElements  
    vcElements = DTE.Solution.Item(1).CodeModel.Functions  
    For Each vcElement In vcElements  
        MsgBox(vcElement.DisplayName)  
    Next  
End Sub  

Bu örneği derlemek ve çalıştırmak hakkında bilgi için bkz. nasıl yapılır: Visual C++ Code Model genişletilebilirliği Için örnek kod derleme .

Şunlara uygulanır