Compartir a través de


IVsDataSource.GetProperty (Método) (String)

获取 DDEX 数据源的属性。

Espacio de nombres:  Microsoft.VisualStudio.Data.Core
Ensamblado:  Microsoft.VisualStudio.Data.Core (en Microsoft.VisualStudio.Data.Core.dll)

Sintaxis

'Declaración
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

Parámetros

  • name
    Tipo: String

    要检索的属性的名称。

Valor devuelto

Tipo: Object
属性的值,那么,如果它存在;否则,返回 nullreferencia null (Nothing en Visual Basic)。

Excepciones

Excepción Condición
ArgumentNullException

name 参数为 nullreferencia null (Nothing en Visual Basic)。

Comentarios

GetProperty 方法的委托,该方法将 Empty 作为提供程序参数的值。

Seguridad de .NET Framework

Vea también

Referencia

IVsDataSource Interfaz

GetProperty (Sobrecarga)

Microsoft.VisualStudio.Data.Core (Espacio de nombres)