Partager via


IVsDataSource.GetProperty, méthode (String)

Obtient une propriété de la source de données de DDEX.

Espace de noms :  Microsoft.VisualStudio.Data.Core
Assembly :  Microsoft.VisualStudio.Data.Core (dans Microsoft.VisualStudio.Data.Core.dll)

Syntaxe

'Déclaration
Function GetProperty ( _
    name As String _
) As Object
Object GetProperty(
    string name
)
Object^ GetProperty(
    String^ name
)
abstract GetProperty : 
        name:string -> Object 
function GetProperty(
    name : String
) : Object

Paramètres

  • name
    Type : System.String
    Nom de la propriété à récupérer.

Valeur de retour

Type : System.Object
La valeur de la propriété, si elle existe ; sinon, nullune référence null (Nothing en Visual Basic).

Exceptions

Exception Condition
ArgumentNullException

Le paramètre name est nullune référence null (Nothing en Visual Basic).

Notes

Délégués de cette méthode à la méthode d' GetProperty , en passant Empty comme valeur du paramètre de fournisseur.

Sécurité .NET Framework

Voir aussi

Référence

IVsDataSource Interface

GetProperty, surcharge

Microsoft.VisualStudio.Data.Core, espace de noms