VCCodeFunction.FunctionKind Eigenschaft
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Ruft eine Enumeration ab, die beschreibt, wie eine Funktion verwendet wird.
public:
property EnvDTE::vsCMFunction FunctionKind { EnvDTE::vsCMFunction get(); };
public:
property EnvDTE::vsCMFunction FunctionKind { EnvDTE::vsCMFunction get(); };
[System.Runtime.InteropServices.DispId(32)]
public EnvDTE.vsCMFunction FunctionKind { [System.Runtime.InteropServices.DispId(32)] [System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)] get; }
[<System.Runtime.InteropServices.DispId(32)>]
[<get: System.Runtime.InteropServices.DispId(32)>]
[<get: System.Runtime.InteropServices.TypeLibFunc(System.Runtime.InteropServices.TypeLibFuncFlags.FNonBrowsable)>]
member this.FunctionKind : EnvDTE.vsCMFunction
Public ReadOnly Property FunctionKind As vsCMFunction
Eigenschaftswert
Ein vsCMFunction-Wert.
- Attribute
Hinweise
FunctionKind Gibt den Typ der Funktion zurück, z. b. eine Get-Eigenschaft, ein-Eigenschaften Let, eine Sub-oder eine-Funktion.
Die vsCMFunction Werte sollen bitweise oder gleich sein. Visual C++ kombiniert einige dieser Werte, um eine Funktion genau zu beschreiben. Beispiel:
virtual int MyProc() const = 0;
MyProc ergibt den Wert (vsCMFunctionFunction | vsCMFunctionVirtual | vsCMFunctionConstant | vsCMFunctionPure | vsCMFunctionTopLevel) .
Ein weiteres Beispiel:
inline void AnotherOne()
ergibt den Wert (vsCMFunctionSub | vsCMFunctionInline, vsCMFunctionTopLevel) .