Click or drag to resize

PFItemExtensionsGetReference Method (PFItem, String)

Gets a object referencing the item. The Text of the reference will be the value of the specified field.

Namespace:  Packflow.Core
Assembly:  MicaSystems.Packflow.Core (in MicaSystems.Packflow.Core.dll) Version: 1.0.0.0 (3.2.0.306)
Syntax
C#
public static PFItemReference GetReference(
	this PFItem item,
	string displayFieldName
)

Parameters

item
Type: Packflow.CorePFItem
displayFieldName
Type: SystemString

Return Value

Type: PFItemReference

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type PFItem. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also