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

Microsoft Silverlight will reach end of support after October 2021. Learn more.

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)

Syntax

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

Parameters

  • parameterTypes
    Type: array<System.Type[]
    The argument types, or nulla null reference (Nothing in Visual Basic) if the property has no arguments.

Return Value

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

Exceptions

Exception Condition
ArgumentNullException

mod is nulla null reference (Nothing in Visual Basic).

-or-

An element of parameterTypes is nulla null reference (Nothing in Visual Basic).

ArgumentException

mod is not a ModuleBuilder.

Remarks

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

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

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