Condividi tramite


Metodo DataConnectionProperties.GetProperty

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

Spazio dei nomi:  Microsoft.VisualStudio.Data
Assembly:  Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.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
Restituisce un descrittore di proprietà con il nome della proprietà specificato, o restituisce nullriferimento null (Nothing in Visual Basic) se nessuna proprietà con il nome specificato viene trovata.

Eccezioni

Eccezione Condizione
ArgumentNullException

Il parametro name è null.

Sicurezza di .NET Framework

Vedere anche

Riferimenti

DataConnectionProperties Classe

Spazio dei nomi Microsoft.VisualStudio.Data