VCCodeFunction::IsInline Property
Visual Studio 2015
Gets or sets the inline property of the function object.
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Call IsInline to determine if an existing function is defined as an inline function or to define an existing function as inline.
See How to: Compile Example Code for Visual C++ Code Model Extensibility for information on how to compile and run this sample.
This example displays the name of each inline function.
Sub GetInlineFunctions() Dim vcCM as VCCodeModel Dim vcFunc as VCCodeFunction vcCM = DTE.Solution.Item(1).CodeModel For Each vcFunc in vcCM.Functions If (vcFunc.IsInline()) Then MsgBox(vcFunc.DisplayName + "is an inline function") End If Next End Sub
Show: