Condividi tramite


Metodo DataConnectionProperties.GetProperty

Recupera il descrittore di proprietà con il nome della proprietà specificato.

Spazio dei nomi:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (in Microsoft.VisualStudio.Data.Framework.dll)

Sintassi

'Dichiarazione
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

Parametri

  • name
    Tipo: String

    Il nome di una proprietà per il quale recuperare il descrittore.

Valore restituito

Tipo: PropertyDescriptor
Un descrittore di proprietà con il nome della proprietà specificato, o nullriferimento null (Nothing in Visual Basic) se nessuna proprietà con il nome specificato viene rilevata.

Eccezioni

Eccezione Condizione
ArgumentNullException

Il parametro name è null.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

DataConnectionProperties Classe

Spazio dei nomi Microsoft.VisualStudio.Data.Framework