Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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.

Namespace:  System.Diagnostics.SymbolStore
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 _
)

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.

If parameters are defined in the metadata for a given method, you do not have to define them again with calls to this method. Symbol readers need to check for these in the normal metadata first, and then use the symbol store.

.NET Framework

Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Community Additions

Show:
© 2017 Microsoft