Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- name 
 Type: System.String- Name of the property to retrieve. 
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.