Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Each member initializer in an object initializer list specifies the name of a field or property and its initial value. The name of the field or property must be preceded by a period. For example, the following declaration assigns "Microsoft" as the initial value for the Name property of client.
Dim client As New Customer() With { .Name = "Microsoft" }
Error ID: BC30985
To correct this error
- Prefix each member name with a period.