Click or drag to resize

MethodRefGetParameters Method

Retrieve the parameters (if any) of a code object for a method, constructor, indexer, or delegate invocation.

Namespace:  Nova.CodeDOM
Assembly:  Nova.CodeDOM (in Nova.CodeDOM.dll) Version: 7.44.8391.13415
Syntax
C#
public static ICollection GetParameters(
	Object obj,
	CodeObject parent = null
)

Parameters

obj
Type: SystemObject
The code object - can be an IParameters CodeObject (MethodDeclBase, IndexerDecl, DelegateDecl, AnonymousMethodBase), MethodDefinition/MethodInfo, ConstructorInfo, or PropertyDefinition/PropertyInfo for an indexer; or an IVariableDecl CodeObject (PropertyDeclBase, VariableDecl), FieldDefinition/FieldInfo, PropertyDefinition/PropertyInfo, or EventDefinition/EventInfo that has a delegate type).
parent (Optional)
Type: Nova.CodeDOMCodeObject
The parent code object for type evaluation purposes.

Return Value

Type: ICollection
An ICollection of ParameterDecls or ParameterDefinition/ParameterInfos, or null if none were found.
See Also