Click or drag to resize
ItemExtensionsAsFile Method (IReadOnlyProperty, IConnection)
Download the file represented by the property

Namespace: Innovator.Client
Assembly: Innovator.Client (in Innovator.Client.dll) Version: 2016.1.15.1759 (2016.01.15.1759)
Syntax
public static Stream AsFile(
	this IReadOnlyProperty prop,
	IConnection conn
)

Parameters

prop
Type: Innovator.ClientIReadOnlyProperty
conn
Type: Innovator.ClientIConnection

Return Value

Type: Stream
This will return the file contents for item properties of type 'File' and image properties that point to vault files

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type IReadOnlyProperty. 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