SignatureHelper.GetPropertySigHelper Method (Module, Type, Type[])

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

Namespace:  System.Reflection.Emit
Assembly:  mscorlib (in mscorlib.dll)

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

Parameters

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

Return Value

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

ExceptionCondition
ArgumentNullException

mod is null.

-or-

An element of parameterTypes is null.

ArgumentException

mod is not a ModuleBuilder.

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

Silverlight

Supported in: 5, 4, 3

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.

Community Additions

ADD
Show: