This documentation is archived and is not being maintained.
ISymbolWriter.DefineParameter Method
.NET Framework 1.1
Defines a single parameter in the current method. The type of each parameter is taken from its position within the signature of the method.
[Visual Basic] Sub DefineParameter( _ ByVal name As String, _ ByVal attributes As ParameterAttributes, _ ByVal sequence As Integer, _ ByVal addrKind As SymAddressKind, _ ByVal addr1 As Integer, _ ByVal addr2 As Integer, _ ByVal addr3 As Integer _ ) [C#] void DefineParameter( string name, ParameterAttributes attributes, int sequence, SymAddressKind addrKind, int addr1, int addr2, int addr3 ); [C++] void DefineParameter( String* name, ParameterAttributes attributes, int sequence, SymAddressKind addrKind, int addr1, int addr2, int addr3 ); [JScript] function DefineParameter( name : String, attributes : ParameterAttributes, sequence : int, addrKind : SymAddressKind, addr1 : int, addr2 : int, addr3 : int );
Parameters
- name
- The parameter name.
- attributes
- The parameter attributes specified using the ParameterAttributes enumerator.
- sequence
- The parameter signature.
- addrKind
- The address types for addr1, addr2, and addr3 using SymAddressKind.
- addr1
- The first address for the parameter specification.
- addr2
- The second address for the parameter specification.
- addr3
- The third address for the parameter specification.
Remarks
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.
Requirements
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also
ISymbolWriter Interface | ISymbolWriter Members | System.Diagnostics.SymbolStore Namespace
Show: