System.Reflection.Emit.SignatureHelper.GetPropertySigHelper Method

Returns a signature helper for a property, given the dynamic module that contains the property, the property type, and the property arguments.

Syntax

public static SignatureHelper GetPropertySigHelper (System.Reflection.Module mod, Type returnType, Type[] parameterTypes)

Parameters

mod
The System.Reflection.Emit.ModuleBuilder that contains the property for which the System.Reflection.Emit.SignatureHelper is requested.
returnType
The property type.
parameterTypes
The argument types, or null if the property has no arguments.

Returns

A System.Reflection.Emit.SignatureHelper object for a property.

Remarks

To create a signature helper for a property with optional or required custom modifiers, use the SignatureHelper.GetPropertySigHelper(System.Reflection.Module, Type, Type[], Type[], Type[], Type[][], Type[][]) method overload.

Requirements

Namespace: System.Reflection.Emit
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0