Nevron Open Vision Documentation
Nevron.Nov.UI Namespace / NDataFormat Class / Create Method


In This Topic
    Create Method (NDataFormat)
    In This Topic
    Creates a custom data format that has the specified serializer and deserializer.
    Syntax
    'Declaration
     
    
    Public Shared Function Create( _
       ByVal name As System.String, _
       ByVal serializer As Nevron.Nov.FunctionResult(Of Byte(),NDataFormat,Object), _
       ByVal deserializer As Nevron.Nov.FunctionResult(Of Object,NDataFormat,Byte()) _
    ) As NDataFormat
    'Usage
     
    
    Dim name As System.String
    Dim serializer As Nevron.Nov.FunctionResult(Of Byte(),NDataFormat,Object)
    Dim deserializer As Nevron.Nov.FunctionResult(Of Object,NDataFormat,Byte())
    Dim value As NDataFormat
     
    value = NDataFormat.Create(name, serializer, deserializer)
    public static NDataFormat Create( 
       System.string name,
       Nevron.Nov.FunctionResult<byte[],NDataFormat,object> serializer,
       Nevron.Nov.FunctionResult<object,NDataFormat,byte[]> deserializer
    )

    Parameters

    name
    serializer
    deserializer
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also