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
'宣告
Function GetTypeParamTextAt ( _
iTypeParam As Integer, _
<OutAttribute> ByRef pbstrName As String, _
<OutAttribute> ByRef pbstrText As String _
) As Integer
'用途
Dim instance As IVsXMLMemberData3
Dim iTypeParam As Integer
Dim pbstrName As String
Dim pbstrText As String
Dim returnValue As Integer
returnValue = instance.GetTypeParamTextAt(iTypeParam, _
pbstrName, pbstrText)
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.