ConfigurationElementCollection.CollectionType プロパティ

定義

ConfigurationElementCollection の型を取得します。Gets the type of the ConfigurationElementCollection.

public:
 virtual property System::Configuration::ConfigurationElementCollectionType CollectionType { System::Configuration::ConfigurationElementCollectionType get(); };
public virtual System.Configuration.ConfigurationElementCollectionType CollectionType { get; }
member this.CollectionType : System.Configuration.ConfigurationElementCollectionType
Public Overridable ReadOnly Property CollectionType As ConfigurationElementCollectionType

プロパティ値

CollectionTypeプロパティを取得する方法を次のコード例に示します。The following code example shows how to get the CollectionType property.

public override ConfigurationElementCollectionType CollectionType
{
    get
    {
        return ConfigurationElementCollectionType.AddRemoveClearMap;
    }
}
Public ReadOnly Property CollectionType() As ConfigurationElementCollectionType
    Get
        Return ConfigurationElementCollectionType.AddRemoveClearMap
    End Get
End Property

注釈

型は、 AddRemoveClearMapまたはフィールドBasicMapのいずれかになります。The type will be either a BasicMap or an AddRemoveClearMap field. 詳細については、「ConfigurationElementCollectionType」を参照してください。For more information, see ConfigurationElementCollectionType.

適用対象