共用方式為


IVsXMLMemberData3.GetParamCount Method

Gets the number of parameters.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'宣告
Function GetParamCount ( _
    <OutAttribute> ByRef piParams As Integer _
) As Integer
'用途
Dim instance As IVsXMLMemberData3
Dim piParams As Integer
Dim returnValue As Integer

returnValue = instance.GetParamCount(piParams)
int GetParamCount(
    out int piParams
)
int GetParamCount(
    [OutAttribute] int% piParams
)
abstract GetParamCount : 
        piParams:int byref -> int 
function GetParamCount(
    piParams : int
) : int

Parameters

  • piParams
    Type: System.Int32%
    [out] The number of parameters.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsXMLMemberData3::GetParamCount(
   [out] long *piParams
);

.NET Framework Security

See Also

Reference

IVsXMLMemberData3 Interface

IVsXMLMemberData3 Members

Microsoft.VisualStudio.Shell.Interop Namespace