IVstaHostAdapter.GetProperty Method

Returns the value of the specified property.

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

Syntax

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

returnValue = instance.GetProperty(name)
string GetProperty(
    string name
)
String^ GetProperty(
    String^ name
)
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

IVstaHostAdapter Interface

IVstaHostAdapter Members

Microsoft.VisualStudio.Tools.Applications.DesignTime.Interop Namespace