Export (0) Print
Expand All

ProvideToolboxItemsAttribute.NeedsCallBackAfterReset Property

Gets or sets whether the ToolboxInitialized event should be raised after each toolbox reset.

Namespace: Microsoft.VisualStudio.Shell
Assembly: Microsoft.VisualStudio.Shell (in microsoft.visualstudio.shell.dll)

public bool NeedsCallBackAfterReset { get; set; }
/** @property */
public boolean get_NeedsCallBackAfterReset ()

/** @property */
public void set_NeedsCallBackAfterReset (boolean value)

public function get NeedsCallBackAfterReset () : boolean

public function set NeedsCallBackAfterReset (value : boolean)

Property Value

true if the ToolboxInitialized event should be raised after each toolbox reset, otherwise false.

This setting can be used when developing your package to force the toolbox to query the list of items to the package every time it is reset, in case something has changed. For shipped products, it is best to leave the setting to false so that the cache can be used for better performances. Some scenario (such as item lists that cannot be persisted to the cache) may need to have this flag set to true.

Community Additions

ADD
Show:
© 2014 Microsoft