Partager via


HostRunConfigurationData.Item Property

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Gets or sets the configuration settings for the specified host.

Namespace:  Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

Syntax

'Declaration
Public Default Property Item ( _
    hostType As String _
) As IHostSpecificRunConfigurationData
public IHostSpecificRunConfigurationData this[
    string hostType
] { get; set; }
public:
property IHostSpecificRunConfigurationData^ default[String^ hostType] {
    IHostSpecificRunConfigurationData^ get (String^ hostType);
    void set (String^ hostType, IHostSpecificRunConfigurationData^ value);
}
member Item : 
        hostType:string -> IHostSpecificRunConfigurationData with get, set
JScript does not support indexed properties.

Parameters

  • hostType
    Type: String

    The name of the type for the host.

Property Value

Type: Microsoft.VisualStudio.TestTools.Common.IHostSpecificRunConfigurationData
The configuration settings for the specified host, or nulla null reference (Nothing in Visual Basic) if no settings are stored for the specified host.

.NET Framework Security

See Also

Reference

HostRunConfigurationData Class

Microsoft.VisualStudio.TestTools.Common Namespace

IHostSpecificRunConfigurationData