IVsXMLMemberData3.GetTypeParamCount(Int32) 方法

定义

获取类型的参数的数目。

public:
 int GetTypeParamCount([Runtime::InteropServices::Out] int % piTypeParams);
int GetTypeParamCount([Runtime::InteropServices::Out] int & piTypeParams);
public int GetTypeParamCount (out int piTypeParams);
abstract member GetTypeParamCount : int -> int
Public Function GetTypeParamCount (ByRef piTypeParams As Integer) As Integer

参数

piTypeParams
Int32

弄参数的数目。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

注解

COM 签名

从 vsshell80:

HRESULT IVsXMLMemberData3::GetTypeParamCount(  
   [out] long *piTypeParams  
);  

适用于