DataConnectionProperties クラス

定義

IVsDataConnectionProperties インターフェイスと IVsDataConnectionUIProperties インターフェイスの実装を表します。

public ref class DataConnectionProperties abstract : Microsoft::VisualStudio::Data::Services::SupportEntities::IVsDataConnectionUIProperties, System::Collections::Generic::ICollection<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::Collections::Generic::IDictionary<System::String ^, System::Object ^>, System::Collections::Generic::IEnumerable<System::Collections::Generic::KeyValuePair<System::String ^, System::Object ^>>, System::ComponentModel::ICustomTypeDescriptor, System::ComponentModel::INotifyPropertyChanged
public abstract class DataConnectionProperties : Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataConnectionUIProperties, System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<string,object>>, System.Collections.Generic.IDictionary<string,object>, System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<string,object>>, System.ComponentModel.ICustomTypeDescriptor, System.ComponentModel.INotifyPropertyChanged
type DataConnectionProperties = class
    interface IVsDataConnectionProperties
    interface IDictionary<string, obj>
    interface ICollection<KeyValuePair<string, obj>>
    interface seq<KeyValuePair<string, obj>>
    interface IEnumerable
    interface IVsDataConnectionUIProperties
    interface ICustomTypeDescriptor
    interface INotifyPropertyChanged
Public MustInherit Class DataConnectionProperties
Implements ICollection(Of KeyValuePair(Of String, Object)), ICustomTypeDescriptor, IDictionary(Of String, Object), IEnumerable(Of KeyValuePair(Of String, Object)), INotifyPropertyChanged, IVsDataConnectionUIProperties
継承
DataConnectionProperties
実装

コンストラクター

DataConnectionProperties()

クラスのパラメーター化されていないインスタンスを DataConnectionProperties 初期化します。

DataConnectionProperties(IEqualityComparer<String>)

プロパティ名を比較する機能を DataConnectionProperties 提供する クラスのパラメーター化されたインスタンスを初期化します。

DataConnectionProperties(IEqualityComparer<String>, Char, Char)

プロパティ名を比較する機能を DataConnectionProperties 提供する クラスのパラメーター化されたインスタンスを初期化します。

プロパティ

Count

既存のデータ接続プロパティの数を取得します。

IsComplete

指定した接続文字列が完了したかどうかを示すブール値を取得します。

IsExtensible

DDEX プロバイダーの接続プロパティが拡張可能かどうかを示すブール値を取得または設定します。

Item[String]

DDEX プロバイダーの指定したプロパティの値を取得または設定します。

Keys

現在のプロパティ キー名のコレクションを取得します。

OrderedProperties

文字列形式で表される場合に、プロパティの適切な順序 (または必要) を指定するプロパティ名のコレクションを取得します。

Values

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

メソッド

Add(String, Object)

現在の接続プロパティ コレクションに新しいプロパティを追加します。

Add(String, Type, Object)

現在の接続プロパティ コレクションに新しいプロパティを追加します。

AddProperty(PropertyDescriptor, Attribute[])

クラスの現在のインスタンスによってネイティブに認識されるプロパティのコレクションに、新しいプロパティを動的に DataConnectionProperties 追加します。

AddProperty(String, Type, Attribute[])

このデータ接続プロパティ インスタンスによってネイティブに認識されるプロパティのコレクションに新しいプロパティを動的に追加します。

Contains(KeyValuePair<String,Object>)

指定したプロパティとその値が現在の接続プロパティのセットに存在するかどうかをテストします。

ContainsKey(String)

指定したプロパティが現在の接続プロパティ のセットのメンバーであるかどうかをテストします。

CopyTo(KeyValuePair<String,Object>[], Int32)

現在の接続プロパティのセットとその値を、指定した配列インデックスから開始して、指定した配列にコピーします。

GetKeyAsString(String)

接続文字列に配置するためのプロパティ キーを書式設定します。

GetProperties()

現在既知のすべてのプロパティの記述子のコレクションを取得します。

GetProperties(Attribute[])

指定した属性セットに一致する現在既知のプロパティの記述子のコレクションを取得します。

GetProperty(String)

指定したプロパティ名を持つプロパティの記述子を取得します。

GetSynonyms(String)

指定したプロパティのシノニムの配列リストを取得します。

GetValueAsString(String)

接続文字列内の配置のプロパティ値を書式設定します。

Initialize(IDictionary<String,Object>)

現在 DataConnectionProperties のインスタンスを既定の状態に初期化し、指定したディクショナリ内の各プロパティを設定します。

InitializeProperties()

現在 DataConnectionProperties のインスタンスのネイティブに認識されるプロパティのセットを初期化します。

InitializeSynonyms()

現在 DataConnectionProperties のインスタンスでネイティブに認識される各プロパティで使用できるシノニムのセットを初期化します。

InitializeValue(String, Object)

指定した接続プロパティの値を初期化します。

InitializeValues(IDictionary<String,Object>)

名前と値のペアのディクショナリを使用して、指定したプロパティ セットの値を初期化します。

IsSensitive(String)

プロパティに機密情報が含まれているかどうかを示します。

ModifyProperty(String, Attribute[])

現在 DataConnectionProperties のインスタンスがネイティブに認識されている既存のプロパティを変更します。

OnPropertyChanged(PropertyChangedEventArgs)

PropertyChanged イベントを発生させます。

Parse(String)

接続文字列のコンポーネントを、現在DataConnectionPropertiesのインスタンス内のプロパティのセットに逆アセンブルします。

ReadKeyFromString(String, Int32)

指定したインデックスから始まる接続文字列からプロパティ キー名を読み取り、プロパティ キー名の直後の位置を指すインデックスを更新します。

ReadValueFromString(String, String, Int32)

指定したインデックスから始まる接続文字列からプロパティ値を読み取り、それを正しい型に変換し、プロパティ名の後の位置を指すインデックスを更新します。

Remove(String)

現在の接続プロパティ コレクションからプロパティを削除します。

RemoveProperty(String)

ネイティブに認識されたプロパティを、プロパティの現在のコレクションから削除します。

Reset()

接続プロパティの値を初期状態にリセットします。

Reset(String)

データ接続プロパティの現在のセットから、指定したプロパティを削除します。

ResolveProperty(String, Boolean)

シノニムの一覧で指定されたプロパティを検索し、必要に応じて、このプロパティをシノニム コレクションのプライマリ名にします (まだ存在しない場合)。

SetPropertySynonyms(String, String[])

指定したプロパティのシノニムを設定またはクリアします。

ShouldPersistProperty(String)

接続文字列をビルドするときにプロパティを永続化するかどうかを示します。

ToDisplayString()

画面上の表示に適した現在のデータ接続プロパティのセットの文字列表現を取得します。

ToSafeString()

保存すべきでない機密プロパティまたはプロパティを除外する、現在のデータ接続プロパティのセットの文字列表現を取得します。

ToString()

現在の接続プロパティの既定の文字列表現を取得します。

TryGetValue(String, Object)

指定したプロパティの値を取得します。

イベント

PropertyChanged

接続プロパティへの変更が発生した場合に発生します。

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

ICollection<KeyValuePair<String,Object>>.Add(KeyValuePair<String,Object>)

IVsDataConnectionProperties インターフェイスと IVsDataConnectionUIProperties インターフェイスの実装を表します。

ICollection<KeyValuePair<String,Object>>.Clear()

IVsDataConnectionProperties インターフェイスと IVsDataConnectionUIProperties インターフェイスの実装を表します。

ICollection<KeyValuePair<String,Object>>.IsReadOnly

IVsDataConnectionProperties インターフェイスと IVsDataConnectionUIProperties インターフェイスの実装を表します。

ICollection<KeyValuePair<String,Object>>.Remove(KeyValuePair<String,Object>)

IVsDataConnectionProperties インターフェイスと IVsDataConnectionUIProperties インターフェイスの実装を表します。

ICustomTypeDescriptor.GetAttributes()

指定したオブジェクトのカスタム属性のコレクションを取得します。

ICustomTypeDescriptor.GetClassName()

指定したオブジェクトのクラス名を取得します。

ICustomTypeDescriptor.GetComponentName()

指定されたオブジェクトの名前を取得します。

ICustomTypeDescriptor.GetConverter()

指定したオブジェクトの型コンバーターを取得します。

ICustomTypeDescriptor.GetDefaultEvent()

指定したオブジェクトの既定のイベントを取得します。

ICustomTypeDescriptor.GetDefaultProperty()

指定したオブジェクトの既定のプロパティを取得します。

ICustomTypeDescriptor.GetEditor(Type)

このオブジェクトの指定した型のエディターを取得します。

ICustomTypeDescriptor.GetEvents()

コンポーネントの指定したインスタンスのイベントを取得します。

ICustomTypeDescriptor.GetEvents(Attribute[])

指定した属性配列をフィルターとして使用して、コンポーネントのこのインスタンスのイベントを取得します。

ICustomTypeDescriptor.GetProperties()

コンポーネントの指定したインスタンスのプロパティを取得します。

ICustomTypeDescriptor.GetProperties(Attribute[])

属性配列をフィルターとして使用して、コンポーネントの指定したインスタンスのプロパティを取得します。

ICustomTypeDescriptor.GetPropertyOwner(PropertyDescriptor)

指定したプロパティ記述子によって記述されたプロパティを含むオブジェクトを取得します。

IEnumerable.GetEnumerator()

を取得します IEnumerator

IEnumerable<KeyValuePair<String,Object>>.GetEnumerator()

IVsDataConnectionProperties インターフェイスと IVsDataConnectionUIProperties インターフェイスの実装を表します。

拡張メソッド

AddRange<TKey,TValue>(IDictionary<TKey,TValue>, IDictionary<TKey,TValue>, Boolean)

1 つの辞書コンテンツを別の辞書に追加する

GetOrDefault<TK,TV>(IDictionary<TK,TV>, TK)

指定したキーによって値を取得します。

EmptyIfNull<T>(IEnumerable<T>)

null でない場合は、この列挙体を返します。 null の場合は、空の列挙を返します。

適用対象