PackageDependency.GetFromIdForSystem(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 package dependency instance from the specified package dependency ID. The package dependency is accessible to all users, , and this method requires that the caller has administrative privileges.
public:
static PackageDependency ^ GetFromIdForSystem(Platform::String ^ id);
static PackageDependency GetFromIdForSystem(winrt::hstring const& id);
public static PackageDependency GetFromIdForSystem(string id);
function getFromIdForSystem(id)
Public Shared Function GetFromIdForSystem (id As String) As PackageDependency
Parameters
- id
-
String
Platform::String
winrt::hstring
The existing package dependency ID from which to create the new package dependency object.
Returns
The object that represents the new package dependency, and provides members you can use to manage the lifetime of the dependency.