ProjectContextExtensions.GetReferencingPackages 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
public:
[System::Runtime::CompilerServices::Extension]
static System::Collections::Generic::IEnumerable<Microsoft::VisualStudio::Web::CodeGeneration::Contracts::ProjectModel::DependencyDescription ^> ^ GetReferencingPackages(Microsoft::VisualStudio::Web::CodeGeneration::Contracts::ProjectModel::IProjectContext ^ context, System::String ^ name);
public static System.Collections.Generic.IEnumerable<Microsoft.VisualStudio.Web.CodeGeneration.Contracts.ProjectModel.DependencyDescription> GetReferencingPackages(this Microsoft.VisualStudio.Web.CodeGeneration.Contracts.ProjectModel.IProjectContext context, string name);
static member GetReferencingPackages : Microsoft.VisualStudio.Web.CodeGeneration.Contracts.ProjectModel.IProjectContext * string -> seq<Microsoft.VisualStudio.Web.CodeGeneration.Contracts.ProjectModel.DependencyDescription>
<Extension()>
Public Function GetReferencingPackages (context As IProjectContext, name As String) As IEnumerable(Of DependencyDescription)
參數
- context
- IProjectContext
- name
- String