Поделиться через


IVsXMLMemberData3.GetParamTextAt Method

Gets the text describing a specific parameter.

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

Syntax

'Declaration
Function GetParamTextAt ( _
    iParam As Integer, _
    <OutAttribute> ByRef pbstrName As String, _
    <OutAttribute> ByRef pbstrText As String _
) As Integer
int GetParamTextAt(
    int iParam,
    out string pbstrName,
    out string pbstrText
)
int GetParamTextAt(
    [InAttribute] int iParam, 
    [OutAttribute] String^% pbstrName, 
    [OutAttribute] String^% pbstrText
)
abstract GetParamTextAt : 
        iParam:int * 
        pbstrName:string byref * 
        pbstrText:string byref -> int 
function GetParamTextAt(
    iParam : int, 
    pbstrName : String, 
    pbstrText : String
) : int

Parameters

  • iParam
    Type: System.Int32
    [in] The position of the parameter in the signature.
  • pbstrName
    Type: System.String%
    [out] The name of the parameter.
  • pbstrText
    Type: System.String%
    [out] The text describing the parameter.

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::GetParamTextAt(
   [in] long iParam, 
   [out] BSTR *pbstrName, 
   [out] BSTR *pbstrText
);

.NET Framework Security

See Also

Reference

IVsXMLMemberData3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace