OnTime Extension SDK Documentation
OnTime.Extensions.SDK Namespace / DataAccess Class / GetUserDefinedField Method
The unique identifier of the UserDefinedField as a Guid.



In This Topic
    GetUserDefinedField Method
    In This Topic
    Retrieves a single UserDefinedField object assigned to a given identifier.
    Syntax
    'Declaration
     
    
    Public Function GetUserDefinedField( _
       ByVal orderID As Guid, _
       ByVal fieldName As String _
    ) As UserDefinedField
    'Usage
     
    
    Dim instance As DataAccess
    Dim orderID As Guid
    Dim fieldName As String
    Dim value As UserDefinedField
     
    value = instance.GetUserDefinedField(orderID, fieldName)
    public UserDefinedField GetUserDefinedField( 
       Guid orderID,
       string fieldName
    )
    public:
    UserDefinedField^ GetUserDefinedField( 
       Guid orderID,
       String^ fieldName
    ) 

    Parameters

    orderID
    The unique identifier of the UserDefinedField as a Guid.
    fieldName

    Return Value

    A comprehensive UserDefinedField object.
    Requirements

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

    See Also