Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

TestContext.Properties Property

Definition

Namespace:
Microsoft.VisualStudio.TestTools.UnitTesting
Assembly:
Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll
Assembly:
MSTest.TestFramework.Extensions.dll
Assemblies:
Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll, Microsoft.VisualStudio.TestPlatform.TestFramework.Extensions.dll
Assembly:
Microsoft.VisualStudio.QualityTools.UnitTestFramework.dll
Package:
MSTest.TestFramework v1.1.18
Package:
MSTest.TestFramework v1.2.1
Package:
MSTest.TestFramework v1.3.2
Package:
MSTest.TestFramework v1.4.0
Package:
MSTest.TestFramework v2.0.0
Package:
MSTest.TestFramework v2.1.2
Package:
MSTest.TestFramework v2.2.10
Package:
MSTest.TestFramework v3.0.4
Package:
MSTest.TestFramework v3.1.1
Package:
MSTest.TestFramework v3.10.5
Package:
MSTest.TestFramework v3.11.0
Package:
MSTest.TestFramework v3.2.2
Package:
MSTest.TestFramework v3.3.1
Package:
MSTest.TestFramework v3.4.3
Package:
MSTest.TestFramework v3.5.2
Package:
MSTest.TestFramework v3.6.4
Package:
MSTest.TestFramework v3.7.3
Package:
MSTest.TestFramework v3.8.3
Package:
MSTest.TestFramework v3.9.3
Package:
MSTest.TestFramework v4.0.2
Package:
MSTest.TestFramework v4.1.0
Package:
MSTest.TestFramework v4.2.3
Source:
TestContext.cs
Source:
TestContext.cs
Source:
TestContext.cs
Source:
TestContext.cs
Source:
TestContext.cs
Source:
TestContext.cs
Source:
TestContext.cs
Source:
TestContext.cs
Source:
TestContext.cs
Source:
TestContext.cs
Source:
TestContext.cs
Source:
TestContext.cs
Source:
TestContext.cs
Source:
TestContext.cs
Source:
TestContext.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Gets test properties for a test.

public abstract System.Collections.Generic.IDictionary<string,object> Properties { get; }
public abstract System.Collections.IDictionary Properties { get; }
public abstract System.Collections.Generic.IDictionary<string,object?> Properties { get; }
[System.Runtime.CompilerServices.Nullable(new System.Byte[] { 1, 1, 2 })]
public abstract System.Collections.Generic.IDictionary<string,object?> Properties { get; }
member this.Properties : System.Collections.Generic.IDictionary<string, obj>
member this.Properties : System.Collections.IDictionary
[<System.Runtime.CompilerServices.Nullable(new System.Byte[] { 1, 1, 2 })>]
member this.Properties : System.Collections.Generic.IDictionary<string, obj>
Public MustOverride ReadOnly Property Properties As IDictionary(Of String, Object)
Public MustOverride ReadOnly Property Properties As IDictionary

Property Value

Attributes

Applies to


Feedback

Was this page helpful?