TelemetrySession.GetPropertyBag(String) 方法

定义

按给定名称获取属性包。

public:
 Microsoft::VisualStudio::Telemetry::TelemetryPropertyBag ^ GetPropertyBag(System::String ^ name);
public Microsoft.VisualStudio.Telemetry.TelemetryPropertyBag GetPropertyBag (string name);
member this.GetPropertyBag : string -> Microsoft.VisualStudio.Telemetry.TelemetryPropertyBag
Public Function GetPropertyBag (name As String) As TelemetryPropertyBag

参数

name
String

返回

TelemetryPropertyBag

如果没有具有此名称的属性包,则为 null。

适用于