Compartir a través de


DataConnectionProperties.GetProperty Method

Retrieves the descriptor of a property with the specified property name.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Syntax

'Declaration
Protected Function GetProperty ( _
    name As String _
) As PropertyDescriptor
protected PropertyDescriptor GetProperty(
    string name
)
protected:
PropertyDescriptor^ GetProperty(
    String^ name
)
member GetProperty : 
        name:string -> PropertyDescriptor
protected function GetProperty(
    name : String
) : PropertyDescriptor

Parameters

  • name
    Type: System.String

    The name of a property for which to retrieve the descriptor.

Return Value

Type: System.ComponentModel.PropertyDescriptor
A descriptor of a property with the specified property name, or nulla null reference (Nothing in Visual Basic) if no property with the specified name is found.

Exceptions

Exception Condition
ArgumentNullException

The name parameter is null.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data.Framework Namespace