Düzenle

Aracılığıyla paylaş


ResultPropertyCollection.Item[String] Property

Definition

Gets the property from this collection that has the specified name.

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

Parameters

name
String

The name of the property to retrieve.

Property Value

A ResultPropertyValueCollection that has the specified name.

Remarks

In C#, this property is the indexer for the ResultPropertyValueCollection class.

In JScript, you can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String.

Applies to