Compartilhar via


DkmClrObjectFavoritesInfo Class

Definition

Represents a collection of favorite properties and/or fields on a type as well as auto generated display strings.

This API was introduced in Visual Studio 16 Update 4 (DkmApiVersion.VS16Update4).

public ref class DkmClrObjectFavoritesInfo
[System.Runtime.InteropServices.Guid("ce79cfaf-fca4-46ad-3009-41fd2eb09dd7")]
public class DkmClrObjectFavoritesInfo
[<System.Runtime.InteropServices.Guid("ce79cfaf-fca4-46ad-3009-41fd2eb09dd7")>]
type DkmClrObjectFavoritesInfo = class
Public Class DkmClrObjectFavoritesInfo
Inheritance
DkmClrObjectFavoritesInfo
Attributes

Properties

DisplayString

[Optional] The display string for the target type, this is created and updated automatically by the IDkmClrObjectFavoritesCache when favorites are added or removed. This value is optional when sent to IDkmClrObjectFavoritesCache.UpdateFavorites(). It should always be present in values returned from IDkmClrObjectFavoritesCacheCallback.GetFavorites().

This API was introduced in Visual Studio 16 Update 4 (DkmApiVersion.VS16Update4).

Favorites

The properties and/or fields which are favorites on the target type.

This API was introduced in Visual Studio 16 Update 4 (DkmApiVersion.VS16Update4).

Key

A string representing the type which is targeted by this info.

This API was introduced in Visual Studio 16 Update 4 (DkmApiVersion.VS16Update4).

SimpleDisplayString

[Optional] The simple display string for the target type which does not include field names. This value is optional when sent to IDkmClrObjectFavoritesCache.UpdateFavorites(). It should always be present in values returned from IDkmClrObjectFavoritesCacheCallback.GetFavorites().

This API was introduced in Visual Studio 16 Update 4 (DkmApiVersion.VS16Update4).

Methods

Create(String, String, String, ReadOnlyCollection<String>)

Create a new DkmClrObjectFavoritesInfo object instance.

This API was introduced in Visual Studio 16 Update 4 (DkmApiVersion.VS16Update4).

Applies to