ASN1C C# Runtime Library  7.7
Public Member Functions | Public Attributes | List of all members
IntHolder Class Reference

Public Member Functions

 IntHolder ()
 
 IntHolder (int value)
 

Public Attributes

int mValue
 

Detailed Description

A Holder class for an int that is used to store "out" and "inout" parameters in methods. If a method has an int as an "out" or "inout" parameter, the programmer must pass an instance of IntHolder as the corresponding parameter in the method invocation; for "inout" parameters, the programmer must also fill the "in" value.

If myIntHolder is an instance of IntHolder,
the value stored in its value field can be accessed with myIntHolder.mValue.

Constructor & Destructor Documentation

◆ IntHolder() [1/2]

IntHolder ( )

The default constructor for IntHolder class

◆ IntHolder() [2/2]

IntHolder ( int  value)

This constructor will intialize IntHolder class with specified int value.

Parameters
valueint value

Member Data Documentation

◆ mValue

int mValue