Click or drag to resize

MethodRefGetParameterType Method (Int32, CodeObject, Boolean)

Get the type of the parameter with the specified index.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public TypeRefBase GetParameterType(
	int parameterIndex,
	CodeObject parent = null,
	bool dontExpandParams = false
)

Parameters

parameterIndex
Type: SystemInt32
The index of the parameter.
parent (Optional)
Type: Nova.CodeDOMCodeObject
The parent code object for type evaluation purposes.
dontExpandParams (Optional)
Type: SystemBoolean
True if any params type should not be expanded (array not removed).

Return Value

Type: TypeRefBase
The TypeRefBase representing the type of the parameter, otherwise null.
Remarks
This method assumes that the argument index is already adjusted as necessary for extension methods.
See Also