IVsDataSource.GetProperty 方法 (String)

获取DDEX数据源的属性。

命名空间:  Microsoft.VisualStudio.Data.Core
程序集:  Microsoft.VisualStudio.Data.Core(在 Microsoft.VisualStudio.Data.Core.dll 中)

语法

声明
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

参数

返回值

类型:System.Object
属性的值,则为;如果存在;否则,nullnull 引用(在 Visual Basic 中为 Nothing)。

异常

异常 条件
ArgumentNullException

name 参数为 nullnull 引用(在 Visual Basic 中为 Nothing)。

备注

GetProperty 方法的此方法委托,通过 Empty 提供程序作为参数的值。

.NET Framework 安全性

请参见

参考

IVsDataSource 接口

GetProperty 重载

Microsoft.VisualStudio.Data.Core 命名空间