HostAdapter.GetProperty Method

Returns the value of the specified property.

Namespace:  Microsoft.VisualStudio.Tools.Applications.DesignTime
Assembly:  Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0 (in Microsoft.VisualStudio.Tools.Applications.DesignTime.v9.0.dll)

Syntax

'Declaration
Public Function GetProperty ( _
    name As String _
) As String
'Usage
Dim instance As HostAdapter 
Dim name As String 
Dim returnValue As String 

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

Parameters

  • name
    Type: System.String

    The name of the property for which you want the value.

Return Value

Type: System.String
The value of the specified property.

Exceptions

Exception Condition
InvalidPropertyException

The property name is not valid.

Remarks

This method retrieves properties from the <HostProperties> section of the project file.

.NET Framework Security

See Also

Reference

HostAdapter Class

HostAdapter Members

Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace