Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
PrivateType Class
Definition
- Namespace:
- Microsoft.VisualStudio.TestTools.UnitTesting
- 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 v4.0.2
- Package:
- MSTest.TestFramework v4.1.0
- Package:
- MSTest.TestFramework v4.2.3
- Source:
- PrivateType.cs
- Source:
- PrivateType.cs
- Source:
- PrivateType.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.
This class represents a private class for the Private Accessors functionality.
public ref class PrivateType
public class PrivateType
type PrivateType = class
Public Class PrivateType
- Inheritance
-
PrivateType
Constructors
| Name | Description |
|---|---|
| PrivateType(String, String) |
Initializes a new instance of the PrivateType class that contains the private type. |
| PrivateType(Type) |
Initializes a new instance of the PrivateType class that contains the private type from the type object |
Properties
| Name | Description |
|---|---|
| ReferencedType |
Gets the referenced type |
Methods
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
Was this page helpful?
