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.

Exception Condition
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.

.NET Framework
Available since 1.1
Portable Class Library
Supported in: portable .NET platforms
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 8.0
Return to top
Show: