次の方法で共有


TelemetrySession.GetSharedPropertyAsObject(String) Method

Definition

Get value of shared property by name as an object.

public object GetSharedPropertyAsObject (string propertyName);
member this.GetSharedPropertyAsObject : string -> obj
Public Function GetSharedPropertyAsObject (propertyName As String) As Object

Parameters

propertyName
String

Name of shared property.

Returns

null if no shared property with such name.

Remarks

This method behaves identically to GetSharedProperty(String). The difference is that this method won't incur the performance penalties brought on by being the first user of dynamic in an application's lifetime.

Applies to