WorkspaceServiceHelper.GetPropertyEvaluatorServiceAsync(IWorkspace) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
傳回 IPropertyEvaluatorService 服務
public:
[System::Runtime::CompilerServices::Extension]
static System::Threading::Tasks::Task<Microsoft::VisualStudio::Workspace::Evaluator::IPropertyEvaluatorService ^> ^ GetPropertyEvaluatorServiceAsync(Microsoft::VisualStudio::Workspace::IWorkspace ^ workspace);
public static System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Evaluator.IPropertyEvaluatorService> GetPropertyEvaluatorServiceAsync (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
public static System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Evaluator.IPropertyEvaluatorService?> GetPropertyEvaluatorServiceAsync (this Microsoft.VisualStudio.Workspace.IWorkspace workspace);
static member GetPropertyEvaluatorServiceAsync : Microsoft.VisualStudio.Workspace.IWorkspace -> System.Threading.Tasks.Task<Microsoft.VisualStudio.Workspace.Evaluator.IPropertyEvaluatorService>
<Extension()>
Public Function GetPropertyEvaluatorServiceAsync (workspace As IWorkspace) As Task(Of IPropertyEvaluatorService)
參數
- workspace
- IWorkspace
工作區實例
傳回
找不到 IPropertyEvaluatorService 的實例或 Null