Delen via


ExtendedPropertyCollection.Item Property (String)

Gets an ExtendedProperty object in the collection by name.

Namespace:  Microsoft.SqlServer.Management.Smo
Assembly:  Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)

Syntax

'Declaration
Public ReadOnly Default Property Item ( _
    name As String _
) As ExtendedProperty
    Get
'Usage
Dim instance As ExtendedPropertyCollection
Dim name As String
Dim value As ExtendedProperty

value = instance(name)
public ExtendedProperty this[
    string name
] { get; }
public:
property ExtendedProperty^ default[String^ name] {
    ExtendedProperty^ get (String^ name);
}
member Item : ExtendedProperty
JScript supports the use of indexed properties, but not the declaration of new ones.

Parameters

Property Value

Type: Microsoft.SqlServer.Management.Smo.ExtendedProperty
An ExtendedProperty object value that represents the extended property.