Skip to content

vb.net utilizing ValueOption attributes #285

Open
@tbayne

Description

@tbayne

I am having trouble utilizing a "ValueOption" attribute for a string: I am sure it is something simple I have failed to grasp.

Friend Class Options

    <[ValueOption(0)](Required:=True, HelpText:="File to process")>
    Public Property filename As String
    ......
End Class

This won't compile, and I ma not sure why. .Net 3.5.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions