DataSource.GetProperty Method (Guid, String)
Retrieves a data source property stored with the data source registration entries, specifying the property by name and GUID.
Namespace: Microsoft.VisualStudio.Data
Assembly: Microsoft.VisualStudio.Data (in Microsoft.VisualStudio.Data.dll)
Syntax
'Declaración
Public MustOverride Function GetProperty ( _
provider As Guid, _
name As String _
) As Object
public abstract Object GetProperty(
Guid provider,
string name
)
public:
virtual Object^ GetProperty(
Guid provider,
String^ name
) abstract
abstract GetProperty :
provider:Guid *
name:string -> Object
public abstract function GetProperty(
provider : Guid,
name : String
) : Object
Parameters
- provider
Type: System.Guid
DDEX provider GUID.
- name
Type: System.String
Name of the property to retrieve.
Return Value
Type: System.Object
Returns a property object specified by name and GUID.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | The name parameter is null. |
ArgumentException | The provider specified is not a registered DDEX provider. |
.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.