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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

.NET for Windows Phone apps

Supported in: Windows Phone 8.1, Windows Phone Silverlight 8.1, Windows Phone Silverlight 8
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft