Compartir a través de


IFeatureService.GetCookie(String) Method

Definition

Creates a new IFeatureCookie that provides O(1) access to the feature's value, in this service's scope. The IFeatureCookie is updated when the feature or its base is updated in this scope or in the global scope.

public:
 Microsoft::VisualStudio::Utilities::IFeatureCookie ^ GetCookie(System::String ^ featureName);
public Microsoft.VisualStudio.Utilities.IFeatureCookie GetCookie (string featureName);
abstract member GetCookie : string -> Microsoft.VisualStudio.Utilities.IFeatureCookie
Public Function GetCookie (featureName As String) As IFeatureCookie

Parameters

featureName
String

Name of the feature

Returns

New instance of IFeatureCookie

Applies to