Partager via


IVsExpansionFunction.GetFunctionType(UInt32) Method

Definition

Returns the type of this expansion function (value or list of values).

public:
 int GetFunctionType([Runtime::InteropServices::Out] System::UInt32 % pFuncType);
int GetFunctionType([Runtime::InteropServices::Out] unsigned int & pFuncType);
public int GetFunctionType (out uint pFuncType);
abstract member GetFunctionType : uint32 -> int
Public Function GetFunctionType (ByRef pFuncType As UInteger) As Integer

Parameters

pFuncType
UInt32

[out] Returns a value from the _ExpansionFunctionType enumeration to identify the expansion function.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From textmgr2.idl:

HRESULT IVsExpansionFunction::GetFunctionType(  
   [out]ExpansionFunctionType *pFuncType  
);  

An expansion function can represent either single or multiple values (possibly dynamically generated). If an expansion function represents a single value, then the GetCurrentValue method is called to retrieve that value. If the expansion function represents a list of values, then the GetListCount and GetListText methods are used to retrieve the list of values.

Applies to