ASP.NET Core MVC Controls | ComponentOne
C1.JsonNet Namespace / JsonAttribute Class / JsonAttribute Constructor / JsonAttribute Constructor(String)
The specified name the property would be serialized.






In This Topic
    JsonAttribute Constructor(String)
    In This Topic
    Initializes a new instance of the JsonAttribute class.
    Syntax
    'Declaration
     
    
    Public Function New( _
       ByVal propertyName As System.String _
    )
    'Usage
     
    
    Dim propertyName As System.String
     
    Dim instance As New JsonAttribute(propertyName)
    public JsonAttribute( 
       System.string propertyName
    )
    public JsonAttribute( 
        propertyName: System.String
    ); 
    public function JsonAttribute( 
       propertyName : System.String
    );
    public: JsonAttribute( 
       System.string* propertyName
    )
    public:
    JsonAttribute( 
       System.String^ propertyName
    )

    Parameters

    propertyName
    The specified name the property would be serialized.
    See Also