Bagikan melalui


IVsXMLMemberData3.GetTypeParamTextAt Method

Gets the type of 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 GetTypeParamTextAt ( _
    iTypeParam As Integer, _
    <OutAttribute> ByRef pbstrName As String, _
    <OutAttribute> ByRef pbstrText As String _
) As Integer
int GetTypeParamTextAt(
    int iTypeParam,
    out string pbstrName,
    out string pbstrText
)
int GetTypeParamTextAt(
    [InAttribute] int iTypeParam, 
    [OutAttribute] String^% pbstrName, 
    [OutAttribute] String^% pbstrText
)
abstract GetTypeParamTextAt : 
        iTypeParam:int * 
        pbstrName:string byref * 
        pbstrText:string byref -> int 
function GetTypeParamTextAt(
    iTypeParam : int, 
    pbstrName : String, 
    pbstrText : String
) : int

Parameters

  • iTypeParam
    Type: System.Int32
    [in] The position of the parameter in the collection.
  • pbstrName
    Type: System.String%
    [out] The name of the parameter.
  • pbstrText
    Type: System.String%
    [out] The type name of 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::GetTypeParamTextAt(
   [in] long iTypeParam, 
   [out] BSTR *pbstrName, 
   [out] BSTR *pbstrText
);

.NET Framework Security

See Also

Reference

IVsXMLMemberData3 Interface

Microsoft.VisualStudio.Shell.Interop Namespace