PropertyCollection.Item[String] プロパティ

定義

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

public:
 property System::DirectoryServices::PropertyValueCollection ^ default[System::String ^] { System::DirectoryServices::PropertyValueCollection ^ get(System::String ^ propertyName); };
public System.DirectoryServices.PropertyValueCollection this[string propertyName] { get; }
member this.Item(string) : System.DirectoryServices.PropertyValueCollection
Default Public ReadOnly Property Item(propertyName As String) As PropertyValueCollection

パラメーター

propertyName
String

取得するプロパティの名前。

プロパティ値

指定したプロパティの値。

注釈

C# では、このプロパティは PropertyCollection クラスのインデクサーです。

JScript では、型によって定義される既定のインデックス付きプロパティを使用できますが、独自のプロパティを明示的に定義することはできません。 ただし、クラスに expando 属性を指定すると、既定のインデックス付きプロパティに Object 型とインデックスの種類 Stringが自動的に提供されます。

適用対象