GetPropertySigHelper Method (Module, Type, Type[])

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

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

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)

'Declaration
Public Shared Function GetPropertySigHelper ( _
	mod As Module, _
	returnType As Type, _
	parameterTypes As Type() _
) As SignatureHelper

Parameters

mod
Type: System.Reflection.Module
The module 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 Nothing if the property has no arguments.

Return Value

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

ExceptionCondition
ArgumentNullException

mod is Nothing.

-or-

An element of parameterTypes is Nothing.

ArgumentException

mod is not a dynamic module builder.

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.

Windows Phone OS

Supported in: 8.1, 8.0

Show:
© 2017 Microsoft