Export (0) Print
Expand All

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)

Sub DefineParameter ( _
	name As String, _
	attributes As ParameterAttributes, _
	sequence As Integer, _
	addrKind As SymAddressKind, _
	addr1 As Integer, _
	addr2 As Integer, _
	addr3 As Integer _
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)
void DefineParameter (
	String name, 
	ParameterAttributes attributes, 
	int sequence, 
	SymAddressKind addrKind, 
	int addr1, 
	int addr2, 
	int addr3
function DefineParameter (
	name : String, 
	attributes : ParameterAttributes, 
	sequence : int, 
	addrKind : SymAddressKind, 
	addr1 : int, 
	addr2 : int, 
	addr3 : int
Not applicable.



The parameter name.


The parameter attributes specified using the ParameterAttributes enumerator.


The parameter signature.


The address types for addr1, addr2, and addr3 using SymAddressKind.


The first address for the parameter specification.


The second address for the parameter specification.


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, then fall back to the symbol store.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions

© 2014 Microsoft