Determines if the specified parameter list is valid.
Namespace: Microsoft.VisualStudio.VCCodeModel
Assembly: Microsoft.VisualStudio.VCCodeModel (in Microsoft.VisualStudio.VCCodeModel.dll)
Syntax
声明
Function ValidateParameterNames ( _
bstrName As String, _
bstrParameterNames As String, _
Kind As vsCMElement _
) As Boolean
用法
Dim instance As VCLanguageManager
Dim bstrName As String
Dim bstrParameterNames As String
Dim Kind As vsCMElement
Dim returnValue As Boolean
returnValue = instance.ValidateParameterNames(bstrName, _
bstrParameterNames, Kind)
bool ValidateParameterNames(
string bstrName,
string bstrParameterNames,
vsCMElement Kind
)
bool ValidateParameterNames(
[InAttribute] String^ bstrName,
[InAttribute] String^ bstrParameterNames,
[InAttribute] vsCMElement Kind
)
function ValidateParameterNames(
bstrName : String,
bstrParameterNames : String,
Kind : vsCMElement
) : boolean
Parameters
bstrName
Type: System.StringRequired. The name of the method.
bstrParameterNames
Type: System.StringRequired. The parameters of the specified method.
Kind
Type: vsCMElementRequired. A vsCMElement value specifying the parameter type.
Return Value
Type: System.Boolean
true if the specified parameter list is valid; otherwise, false.
Permissions
- 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.