HostAdapter.SetProperty Method

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

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

instance.SetProperty(name, value)
public void SetProperty(
    string name,
    string value
)
public:
void SetProperty(
    String^ name, 
    String^ value
)
public 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

HostAdapter Class

HostAdapter Members

Microsoft.VisualStudio.Tools.Applications.DesignTime Namespace