Item Property


A copy of the ExportLayerInfo item that corresponds to the layer's ExportLayerKey .

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.0.0.377)
Since: 2014

Syntax

C#
public ExportLayerInfo this[
	ExportLayerKey layerKey
] { get; set; }
Visual Basic
Public Default Property Item ( _
	layerKey As ExportLayerKey _
) As ExportLayerInfo
	Get
	Set
Visual C++
public:
virtual property ExportLayerInfo^ default[ExportLayerKey^ layerKey] {
	ExportLayerInfo^ get (ExportLayerKey^ layerKey) sealed;
	void set (ExportLayerKey^ layerKey, ExportLayerInfo^ value) sealed;
}

Parameters

layerKey
Type: Autodesk.Revit.DB ExportLayerKey

Return Value

A copy of the ExportLayerInfo for the layer Key.

Remarks

When getting this property, it returns a copy of the ExportLayerInfo from the table. In order to make changes to the ExportLayerInfo and use those settings during export, set the modified ExportLayerInfo back into the table using the same key.

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentException When getting this property: An entry with the given key is not present in the table.

See Also