ConfigurationElementCollection.CollectionType Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Property Value
The ConfigurationElementCollectionType of this collection.
Examples
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
Remarks
The type will be either a BasicMap or an AddRemoveClearMap field. For more information, see ConfigurationElementCollectionType.
Applies to
ทํางานร่วมกับเราใน GitHub
แหล่งที่มาสำหรับเนื้อหานี้สามารถพบได้บน GitHub ซึ่งคุณยังสามารถสร้างและตรวจสอบปัญหาและคำขอดึงข้อมูลได้ สำหรับข้อมูลเพิ่มเติม ให้ดูคู่มือผู้สนับสนุนของเรา