Partager via


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

'Declaration
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

Parameters

Return Value

Type: System.Object
The value of the property, if it exists; otherwise, nulla null reference (Nothing in Visual Basic).

Exceptions

Exception Condition
ArgumentNullException

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

Remarks

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

.NET Framework Security

See Also

Reference

IVsDataSource Interface

GetProperty Overload

Microsoft.VisualStudio.Data.Core Namespace