다음을 통해 공유


SharedProjectUtilities Class

Definition

Utility methods for Shared Projects.

public ref class SharedProjectUtilities abstract sealed
public ref class SharedProjectUtilities abstract sealed
class SharedProjectUtilities abstract sealed
public static class SharedProjectUtilities
type SharedProjectUtilities = class
Public Module SharedProjectUtilities
Inheritance
SharedProjectUtilities

Methods

EnumImportingProjects(IVsHierarchy)

Enumerates all the projects that are importing shared assets owned by the given Shared Project hierarchy.

EnumOwningProjectsOfSharedAssets(IVsHierarchy)

Enumerates all the Shared Projects that own and manage the shared assets being imported by the given project.

GetActiveProjectContext(IVsHierarchy)

Gets the active project context.

GetDeploymentRelativePath(IVsHierarchy, UInt32)

Gets the deployment relative path of the given item id.

GetSharedItemsImportFullPaths(IVsHierarchy)

Gets the full paths of the shared ".projitems" files imported by the given project.

IsProjectImportingSharedAssets(IVsHierarchy)

Is the given project importing shared assets?

IsSharedAssetsProject(IVsHierarchy)

Is the given project a Shared Project?

IsSharedItem(IVsHierarchy, UInt32)

Is the given item a shared item?

SetActiveProjectContext(IVsHierarchy, IVsHierarchy)

Sets the active project context.

SetHierarchyProperty(IVsHierarchy, UInt32, Int32, Object)

Sets the hierarchy property with the convenience to jump to the Shared Project hierarchy to set the property for the shared item.

TryGetItemInSharedAssetsProject(IVsHierarchy, UInt32, IVsHierarchy, UInt32)

Gets the item id of an imported item in the Shared Project hierarchy.

Applies to