CodeGeneratorOptions.Item Property

Gets or sets the object at the specified index.

Namespace: System.CodeDom.Compiler
Assembly: System (in system.dll)

public Object this [
	string index
] { get; set; }
/** @property */
public Object get_Item (String index)

/** @property */
public void set_Item (String index, Object value)

Not applicable.



The name associated with the object to retrieve.

Property Value

The object associated with the specified name. If no object associated with the specified name exists in the collection, a null reference (Nothing in Visual Basic).

This dictionary provides an extensibility mechanism for developers to provide data for custom features of a code generator. A code generator must implement such features and support checking the dictionary for this to be useful.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0, 1.1, 1.0

Community Additions