Freigeben über


DataProvider.GetProperty Method

Retrieves a generically known or DDEX provider-specific property.

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

Syntax

'Declaration
Public MustOverride Function GetProperty ( _
    name As String _
) As Object
public abstract Object GetProperty(
    string name
)
public:
virtual Object^ GetProperty(
    String^ name
) abstract
abstract GetProperty : 
        name:string -> Object 
public abstract function GetProperty(
    name : String
) : Object

Parameters

Return Value

Type: System.Object
Returns a specified property.

Exceptions

Exception Condition
ArgumentNullException

The name parameter is null.

Remarks

This method looks for values beneath a provider's registry root. A cache of property name/value pairs is maintained and not refreshed, so once a property has been retrieved, a given instance of Visual Studio will not pick up a change in the registry until Visual Studio is restarted.

.NET Framework Security

See Also

Reference

DataProvider Class

Microsoft.VisualStudio.Data Namespace