IFeatureService.GetCookie(String) 方法

定义

创建一个新 IFeatureCookie 的,它在此服务的范围内提供 O (1) 对功能值的访问。 IFeatureCookie当功能或其基在此范围或全局范围中更新时,将更新。

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

参数

featureName
String

功能的名称

返回

IFeatureCookie

新实例 IFeatureCookie

适用于