次の方法で共有


DeviceElementCollection クラス

定義

注意事項

The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.

DeviceElement オブジェクトのコレクション。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。ASP.NET

public ref class DeviceElementCollection sealed : System::Configuration::ConfigurationElementCollection
[System.Configuration.ConfigurationCollection(typeof(System.Web.UI.MobileControls.DeviceElement), AddItemName="device")]
public sealed class DeviceElementCollection : System.Configuration.ConfigurationElementCollection
[System.Configuration.ConfigurationCollection(typeof(System.Web.UI.MobileControls.DeviceElement), AddItemName="device")]
[System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")]
public sealed class DeviceElementCollection : System.Configuration.ConfigurationElementCollection
[<System.Configuration.ConfigurationCollection(typeof(System.Web.UI.MobileControls.DeviceElement), AddItemName="device")>]
type DeviceElementCollection = class
    inherit ConfigurationElementCollection
[<System.Configuration.ConfigurationCollection(typeof(System.Web.UI.MobileControls.DeviceElement), AddItemName="device")>]
[<System.Obsolete("The System.Web.Mobile.dll assembly has been deprecated and should no longer be used. For information about how to develop ASP.NET mobile applications, see http://go.microsoft.com/fwlink/?LinkId=157231.")>]
type DeviceElementCollection = class
    inherit ConfigurationElementCollection
Public NotInheritable Class DeviceElementCollection
Inherits ConfigurationElementCollection
継承
属性

注釈

DeviceElementCollection クラスには、構成ファイルから読み取られたDeviceElement オブジェクトのコレクションが含まれています。 構成ファイルの構造と内容の詳細については、「 <mobileControls>を参照してください。

コンストラクター

名前 説明
DeviceElementCollection()
古い.

DeviceElementCollection クラスの新しいインスタンスを初期化します。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。ASP.NET

プロパティ

名前 説明
AddElementName
古い.

派生クラスでオーバーライドされたときに ConfigurationElement の追加操作に関連付ける ConfigurationElementCollection の名前を取得または設定します。

(継承元 ConfigurationElementCollection)
AllKeys
古い.

DeviceElementCollection コレクションに含まれるデバイス要素のキーの配列を返します。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。ASP.NET

ClearElementName
古い.

派生クラスでオーバーライドされたときに ConfigurationElement のクリア操作に関連付ける ConfigurationElementCollection の名前を取得または設定します。

(継承元 ConfigurationElementCollection)
CollectionType
古い.

この DeviceElementCollection オブジェクトの構成コレクション型を取得します。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。ASP.NET

Count
古い.

コレクション内の要素の数を取得します。

(継承元 ConfigurationElementCollection)
CurrentConfiguration
古い.

現在の Configuration インスタンスが属している構成階層を表す最上位 ConfigurationElement インスタンスへの参照を取得します。

(継承元 ConfigurationElement)
ElementInformation
古い.

ElementInformation オブジェクトのカスタマイズ不可能な情報と機能を含む ConfigurationElement オブジェクトを取得します。

(継承元 ConfigurationElement)
ElementName
古い.

派生クラスでオーバーライドされたときに、構成ファイル内の要素のこのコレクションを識別するために使用される名前を取得します。

(継承元 ConfigurationElementCollection)
ElementProperty
古い.

ConfigurationElementProperty オブジェクト自体を表す ConfigurationElement オブジェクトを取得します。

(継承元 ConfigurationElement)
EmitClear
古い.

コレクションがクリアされているかどうかを示す値を取得または設定します。

(継承元 ConfigurationElementCollection)
EvaluationContext
古い.

ContextInformation オブジェクトの ConfigurationElement オブジェクトを取得します。

(継承元 ConfigurationElement)
HasContext
古い.

CurrentConfiguration プロパティが nullされているかどうかを示す値を取得します。

(継承元 ConfigurationElement)
IsSynchronized
古い.

コレクションへのアクセスが同期されているかどうかを示す値を取得します。

(継承元 ConfigurationElementCollection)
Item[ConfigurationProperty]
古い.

この構成要素のプロパティまたは属性を取得または設定します。

(継承元 ConfigurationElement)
Item[Int32]
古い.

指定したインデックス位置にあるデバイス要素を取得または設定します。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。ASP.NET

Item[String]
古い.

指定したキーを持つデバイス要素を返します。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。ASP.NET

LockAllAttributesExcept
古い.

ロックされた属性のコレクションを取得します。

(継承元 ConfigurationElement)
LockAllElementsExcept
古い.

ロックされた要素のコレクションを取得します。

(継承元 ConfigurationElement)
LockAttributes
古い.

ロックされた属性のコレクションを取得します。

(継承元 ConfigurationElement)
LockElements
古い.

ロックされた要素のコレクションを取得します。

(継承元 ConfigurationElement)
LockItem
古い.

要素がロックされているかどうかを示す値を取得または設定します。

(継承元 ConfigurationElement)
Properties
古い.

プロパティのコレクションを取得します。

(継承元 ConfigurationElement)
RemoveElementName
古い.

派生クラスでオーバーライドされたときに ConfigurationElement の削除操作に関連付ける ConfigurationElementCollection の名前を取得または設定します。

(継承元 ConfigurationElementCollection)
SyncRoot
古い.

ConfigurationElementCollectionへのアクセスを同期するために使用するオブジェクトを取得します。

(継承元 ConfigurationElementCollection)
ThrowOnDuplicate
古い.

重複する ConfigurationElementConfigurationElementCollection に追加しようとすると例外がスローされるかどうかを示す値を取得します。

(継承元 ConfigurationElementCollection)

メソッド

名前 説明
Add(DeviceElement)
古い.

デバイス要素をコレクションに追加します。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。ASP.NET

BaseAdd(ConfigurationElement, Boolean)
古い.

構成要素コレクションに構成要素を追加します。

(継承元 ConfigurationElementCollection)
BaseAdd(ConfigurationElement)
古い.

構成要素を ConfigurationElementCollectionに追加します。

(継承元 ConfigurationElementCollection)
BaseAdd(Int32, ConfigurationElement)
古い.

構成要素コレクションに構成要素を追加します。

(継承元 ConfigurationElementCollection)
BaseClear()
古い.

すべての構成要素オブジェクトをコレクションから削除します。

(継承元 ConfigurationElementCollection)
BaseGet(Int32)
古い.

指定したインデックス位置にある構成要素を取得します。

(継承元 ConfigurationElementCollection)
BaseGet(Object)
古い.

指定したキーを持つ構成要素を返します。

(継承元 ConfigurationElementCollection)
BaseGetAllKeys()
古い.

ConfigurationElementCollectionに含まれるすべての構成要素のキーの配列を返します。

(継承元 ConfigurationElementCollection)
BaseGetKey(Int32)
古い.

指定したインデックス位置にある ConfigurationElement のキーを取得します。

(継承元 ConfigurationElementCollection)
BaseIndexOf(ConfigurationElement)
古い.

指定した ConfigurationElementのインデックスを示します。

(継承元 ConfigurationElementCollection)
BaseIsRemoved(Object)
古い.

指定したキーを持つ ConfigurationElementConfigurationElementCollectionから削除されたかどうかを示します。

(継承元 ConfigurationElementCollection)
BaseRemove(Object)
古い.

コレクションから ConfigurationElement を削除します。

(継承元 ConfigurationElementCollection)
BaseRemoveAt(Int32)
古い.

指定したインデックス位置にある ConfigurationElement を削除します。

(継承元 ConfigurationElementCollection)
Clear()
古い.

すべてのデバイス要素をコレクションから削除します。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。ASP.NET

CopyTo(ConfigurationElement[], Int32)
古い.

ConfigurationElementCollection の内容を配列にコピーします。

(継承元 ConfigurationElementCollection)
CreateNewElement()
古い.

派生クラスでオーバーライドされた場合は、新しい ConfigurationElementを作成します。

(継承元 ConfigurationElementCollection)
CreateNewElement(String)
古い.

派生クラスでオーバーライドされたときに新しい ConfigurationElement を作成します。

(継承元 ConfigurationElementCollection)
DeserializeElement(XmlReader, Boolean)
古い.

構成ファイルから XML を読み取ります。

(継承元 ConfigurationElement)
Equals(Object)
古い.

指定したオブジェクトと ConfigurationElementCollection を比較します。

(継承元 ConfigurationElementCollection)
GetElementKey(ConfigurationElement)
古い.

派生クラスでオーバーライドされた場合に、指定した構成要素の要素キーを取得します。

(継承元 ConfigurationElementCollection)
GetEnumerator()
古い.

IEnumeratorを反復処理するために使用されるConfigurationElementCollectionを取得します。

(継承元 ConfigurationElementCollection)
GetHashCode()
古い.

ConfigurationElementCollection インスタンスを表す一意の値を取得します。

(継承元 ConfigurationElementCollection)
GetTransformedAssemblyString(String)
古い.

指定したアセンブリ名の変換されたバージョンを返します。

(継承元 ConfigurationElement)
GetTransformedTypeString(String)
古い.

指定した型名の変換されたバージョンを返します。

(継承元 ConfigurationElement)
GetType()
古い.

現在のインスタンスの Type を取得します。

(継承元 Object)
Init()
古い.

ConfigurationElement オブジェクトを初期状態に設定します。

(継承元 ConfigurationElement)
InitializeDefault()
古い.

ConfigurationElement オブジェクトの既定の値セットを初期化するために使用します。

(継承元 ConfigurationElement)
IsElementName(String)
古い.

指定した ConfigurationElementConfigurationElementCollectionに存在するかどうかを示します。

(継承元 ConfigurationElementCollection)
IsElementRemovable(ConfigurationElement)
古い.

指定した ConfigurationElementConfigurationElementCollectionから削除できるかどうかを示します。

(継承元 ConfigurationElementCollection)
IsModified()
古い.

この ConfigurationElementCollection が最後に保存されてから変更されたか、派生クラスでオーバーライドされたときに読み込まれたかを示します。

(継承元 ConfigurationElementCollection)
IsReadOnly()
古い.

ConfigurationElementCollection オブジェクトが読み取り専用かどうかを示します。

(継承元 ConfigurationElementCollection)
ListErrors(IList)
古い.

この ConfigurationElement オブジェクトおよびすべてのサブ要素の無効なプロパティ エラーを、渡されたリストに追加します。

(継承元 ConfigurationElement)
MemberwiseClone()
古い.

現在の Objectの簡易コピーを作成します。

(継承元 Object)
OnDeserializeUnrecognizedAttribute(String, String)
古い.

逆シリアル化中に不明な属性が検出されたかどうかを示す値を取得します。

(継承元 ConfigurationElement)
OnDeserializeUnrecognizedElement(String, XmlReader)
古い.

構成システムが例外をスローします。

(継承元 ConfigurationElementCollection)
OnRequiredPropertyNotFound(String)
古い.

必要なプロパティが見つからない場合に例外をスローします。

(継承元 ConfigurationElement)
PostDeserialize()
古い.

逆シリアル化後に呼び出されます。

(継承元 ConfigurationElement)
PreSerialize(XmlWriter)
古い.

シリアル化の前に呼び出されます。

(継承元 ConfigurationElement)
Remove(DeviceElement)
古い.

指定したデバイス要素をコレクションから削除します。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。ASP.NET

Remove(String)
古い.

名前付きデバイス要素をコレクションから削除します。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。ASP.NET

RemoveAt(Int32)
古い.

指定したインデックス位置にあるデバイス要素を削除します。 この API は廃止されています。 ASP.NET モバイル アプリケーションの開発方法については、「Mobile Apps&」を参照してください。ASP.NET

Reset(ConfigurationElement)
古い.

派生クラスでオーバーライドされると、ConfigurationElementCollection を変更されていない状態にリセットします。

(継承元 ConfigurationElementCollection)
ResetModified()
古い.

派生クラスでオーバーライドされたときに、IsModified() プロパティの値を false にリセットします。

(継承元 ConfigurationElementCollection)
SerializeElement(XmlWriter, Boolean)
古い.

派生クラスでオーバーライドされると、構成データを構成ファイルの XML 要素に書き込みます。

(継承元 ConfigurationElementCollection)
SerializeToXmlElement(XmlWriter, String)
古い.

派生クラスで実装されるときに、この構成要素の外部タグを構成ファイルに書き込みます。

(継承元 ConfigurationElement)
SetPropertyValue(ConfigurationProperty, Object, Boolean)
古い.

プロパティを指定した値に設定します。

(継承元 ConfigurationElement)
SetReadOnly()
古い.

IsReadOnly() オブジェクトとすべてのサブ要素の ConfigurationElementCollection プロパティを設定します。

(継承元 ConfigurationElementCollection)
ToString()
古い.

現在のオブジェクトを表す文字列を返します。

(継承元 Object)
Unmerge(ConfigurationElement, ConfigurationElement, ConfigurationSaveMode)
古い.

構成階層のさまざまなレベルから構成情報をマージする効果を元に戻します。

(継承元 ConfigurationElementCollection)

明示的なインターフェイスの実装

名前 説明
ICollection.CopyTo(Array, Int32)
古い.

ConfigurationElementCollection を配列にコピーします。

(継承元 ConfigurationElementCollection)

拡張メソッド

名前 説明
AsParallel(IEnumerable)
古い.

クエリの並列化を有効にします。

AsQueryable(IEnumerable)
古い.

IEnumerableIQueryableに変換します。

Cast<TResult>(IEnumerable)
古い.

IEnumerable の要素を指定した型にキャストします。

OfType<TResult>(IEnumerable)
古い.

指定した型に基づいて、IEnumerable の要素をフィルター処理します。

適用対象

こちらもご覧ください