IVsDataSource.GetProperty Method (String)

Gets a property of the DDEX data source.

Namespace:  Microsoft.VisualStudio.Data.Core
Assembly:  Microsoft.VisualStudio.Data.Core (in Microsoft.VisualStudio.Data.Core.dll)

Syntax

'宣言
Function GetProperty ( _
    name As String _
) As Object
'使用
Dim instance As IVsDataSource
Dim name As String
Dim returnValue As Object

returnValue = instance.GetProperty(name)
Object GetProperty(
    string name
)
Object^ GetProperty(
    String^ name
)
function GetProperty(
    name : String
) : Object

Parameters

Return Value

Type: System.Object

The value of the property, if it exists; otherwise, a null reference (Nothing in Visual Basic).

Exceptions

Exception Condition
ArgumentNullException

The name parameter is a null reference (Nothing in Visual Basic).

Remarks

This method delegates to the GetProperty method, passing an Empty as the value of the provider parameter.

Permissions

See Also

Reference

IVsDataSource Interface

IVsDataSource Members

GetProperty Overload

Microsoft.VisualStudio.Data.Core Namespace