Click or drag to resize
CoreCreatedOn Method (IReadOnlyItem)
Retrieve the created_on property of the item

Namespace: Innovator.Client
Assembly: Innovator.Client (in Innovator.Client.dll) Version: 2016.1.15.1759 (2016.01.15.1759)
Syntax
public static IReadOnlyProperty CreatedOn(
	this IReadOnlyItem parent
)

Parameters

parent
Type: Innovator.ClientIReadOnlyItem

Return Value

Type: IReadOnlyProperty

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IReadOnlyItem. 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).
Examples
C#
// If the part was created after 2016-01-01, put the name of the creator in the description
if (comp.CreatedOn().AsDateTime(DateTime.MaxValue) > new DateTime(2016, 1, 1))
{
    edits.Property("description").Set("Created by: " + comp.CreatedById().KeyedName().Value);
}
See Also