次の方法で共有


IRunConfigurationCustomHostEditor.GetData Method

Retrieves persisted host configuration data.

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

Syntax

'宣言
Function GetData As IHostSpecificRunConfigurationData
IHostSpecificRunConfigurationData GetData()
IHostSpecificRunConfigurationData^ GetData()
abstract GetData : unit -> IHostSpecificRunConfigurationData 
function GetData() : IHostSpecificRunConfigurationData

Return Value

Type: Microsoft.VisualStudio.TestTools.Common.IHostSpecificRunConfigurationData
The host-specific data for this editor.

Remarks

Set this data by using the SetData method.

Examples

/// <summary>
/// Main editor has requested current host-specific data.
/// </summary>
/// <returns></returns>
IHostSpecificRunConfigurationData
    IRunConfigurationCustomHostEditor.GetData()
{
    return m_config;
}

.NET Framework Security

See Also

Reference

IRunConfigurationCustomHostEditor Interface

Microsoft.VisualStudio.TestTools.Vsip Namespace

SetData

IHostSpecificRunConfigurationData