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.StringThe 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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.