IVstaHostAdapter.SetProperty Method

Sets the value of the specified property or creates the property if it does not exist.

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
Sub SetProperty ( _
    name As String, _
    value As String _
)
'Usage
Dim instance As IVstaHostAdapter 
Dim name As String 
Dim value As String

instance.SetProperty(name, value)
void SetProperty(
    string name,
    string value
)
void SetProperty(
    String^ name, 
    String^ value
)
function SetProperty(
    name : String, 
    value : String
)

Parameters

Remarks

You can create properties to store values in the <HostProperties> section of the project file. These values are persisted when the project is closed.

.NET Framework Security

See Also

Reference

IVstaHostAdapter Interface

IVstaHostAdapter Members

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