Initializes a new instance of AllowInstancesAttribute
with the type names of the instances that should be allowed
when the target method has been executed.
Namespace:
SciTech.NetMemProfilerAssembly: MemProfiler2 (in MemProfiler2.dll)
Syntax
| C# |
|---|
public AllowInstancesAttribute( string[] typeNames ) |
| Visual Basic |
|---|
Public Sub New ( _ typeNames As String() _ ) |
| Visual C++ |
|---|
public: AllowInstancesAttribute( array<String^>^ typeNames ) |
Parameters
- typeNames
- Type: array<System..::..String>[]()[][]
An array containing the type names of the instances that should be allowed.
Remarks
For more information see
AssertionsDefinition.AllowInstances(array<String>[]()[][], Boolean) and
AssertionAttribute.