更新 : 2007 年 11 月
DataCollection クラスを使用すると、プロファイル実行中に .vsp ファイルで収集されるデータの量をプログラムで制御できます。プログラムでデータ収集を制御するには、マネージ コード内で DataCollection クラスのメソッドとプロパティを使用します。
名前空間 : Microsoft.VisualStudio.Profiler
アセンブリ : Microsoft.VisualStudio.Profiler (Microsoft.VisualStudio.Profiler.dll 内)
構文
'宣言
<SecurityPermissionAttribute(SecurityAction.LinkDemand, UnmanagedCode := True)> _
<SecurityPermissionAttribute(SecurityAction.InheritanceDemand, UnmanagedCode := True)> _
Public NotInheritable Class DataCollection
'使用
Dim instance As DataCollection
[SecurityPermissionAttribute(SecurityAction.LinkDemand, UnmanagedCode = true)]
[SecurityPermissionAttribute(SecurityAction.InheritanceDemand, UnmanagedCode = true)]
public sealed class DataCollection
[SecurityPermissionAttribute(SecurityAction::LinkDemand, UnmanagedCode = true)]
[SecurityPermissionAttribute(SecurityAction::InheritanceDemand, UnmanagedCode = true)]
public ref class DataCollection sealed
public final class DataCollection
継承階層
System.Object
Microsoft.VisualStudio.Profiler.DataCollection
スレッド セーフ
この型のすべてのパブリック static (Visual Basic では Shared) メンバは、スレッド セーフです。インスタンス メンバの場合は、スレッド セーフであるとは限りません。