IFeatureService.GetCookie(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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