CodeGeneratorOptions.Item[String] 屬性

定義

取得或設定物件在指定的索引位置。

public:
 property System::Object ^ default[System::String ^] { System::Object ^ get(System::String ^ index); void set(System::String ^ index, System::Object ^ value); };
public object this[string index] { get; set; }
member this.Item(string) : obj with get, set
Default Public Property Item(index As String) As Object

參數

index
String

與要取回的物件相關聯的名稱。

屬性值

與指定名稱相關聯的物件。 若集合中不存在與指定名稱相關的物件,則 null

備註

此字典提供擴充機制,讓開發者能提供程式碼產生器的自訂功能資料。 程式碼產生器必須實作這些功能並支援字典檢查,才能發揮作用。

適用於