Share via


Filter.CustomField Constructor (String, Guid, Filter.PropertyTypeEnum, Filter.SortOrderTypeEnum)

Instantiates a Filter.CustomField object with the specified DataTable name, custom field GUID, property type, and sort order.

Namespace:  Microsoft.Office.Project.Server.Library
Assembly:  Microsoft.Office.Project.Server.Library (in Microsoft.Office.Project.Server.Library.dll)

Syntax

'Declaration
Public Sub New ( _
    tableName As String, _
    customFieldUid As Guid, _
    propertyType As Filter.PropertyTypeEnum, _
    sortOrder As Filter.SortOrderTypeEnum _
)
'Usage
Dim tableName As String
Dim customFieldUid As Guid
Dim propertyType As Filter.PropertyTypeEnum
Dim sortOrder As Filter.SortOrderTypeEnum

Dim instance As New Filter.CustomField(tableName, _
    customFieldUid, propertyType, sortOrder)
public CustomField(
    string tableName,
    Guid customFieldUid,
    Filter.PropertyTypeEnum propertyType,
    Filter.SortOrderTypeEnum sortOrder
)

Parameters

  • tableName
    Type: System.String
    The name of the DataTable; for example, the ResourceDataSet.ResourceCustomFields table.
  • customFieldUid
    Type: System.Guid
    The GUID of the custom field.

See Also

Reference

Filter.CustomField Class

Filter.CustomField Members

Filter.CustomField Overload

Microsoft.Office.Project.Server.Library Namespace