I used a C# to VB converter program. First the C# code:
Now the VB code:Code:#region Property: Authentication
private Authentication _authentication;
[DefaultValue(null), XmlElement(@"Authentication")]
public Authentication Authentication
{
get { return this._authentication; }
set { this._authentication = value; }
}
#endregion
Now the VB throws an exception onCode:Private _authentication As Authentication
<DefaultValue(Nothing), XmlElement("Authentication")> _
Public Property Authentication() As Authentication
Get
Return Me._authentication
End Get
Set(ByVal value As Authentication)
Me._authentication = value
End Set
End Property
stating Overload resolution failed because no accessible 'New' is most specific for these arguments: etc..Code:<DefaultValue(Nothing), XmlElement("Authentication")> _
Anyone shed some light on this? I am pretty novice with C# and brand new to XML and blah...
Thank you
