ISymbolWriter.DefineParameter Method
Defines a single parameter in the current method. The type of each parameter is taken from its position within the signature of the method.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Sub DefineParameter ( _ name As String, _ attributes As ParameterAttributes, _ sequence As Integer, _ addrKind As SymAddressKind, _ addr1 As Integer, _ addr2 As Integer, _ addr3 As Integer _ ) 'Usage Dim instance As ISymbolWriter Dim name As String Dim attributes As ParameterAttributes Dim sequence As Integer Dim addrKind As SymAddressKind Dim addr1 As Integer Dim addr2 As Integer Dim addr3 As Integer instance.DefineParameter(name, attributes, _ sequence, addrKind, addr1, addr2, _ addr3)
Parameters
- name
- Type: System.String
The parameter name.
- attributes
- Type: System.Reflection.ParameterAttributes
A bitwise combination of the parameter attributes.
- sequence
- Type: System.Int32
The parameter signature.
- addrKind
- Type: System.Diagnostics.SymbolStore.SymAddressKind
The address types for addr1, addr2, and addr3.
- addr1
- Type: System.Int32
The first address for the parameter specification.
- addr2
- Type: System.Int32
The second address for the parameter specification.
- addr3
- Type: System.Int32
The third address for the parameter specification.
Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.