'Declaration
Public Function New( _ ByVal fieldName As String, _ ByVal fieldValue As GenericData _ )
'Usage
Dim fieldName As String Dim fieldValue As GenericData Dim instance As New UnionData(fieldName, fieldValue)
public UnionData( string fieldName, GenericData fieldValue )
public: UnionData( String^ fieldName, GenericData^ fieldValue )
Parameters
- fieldName
- Determines which of the data fields is in use.
- fieldValue
- The value of the currently used data field.