PackageDependency.GetFromId(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.
public:
static PackageDependency ^ GetFromId(Platform::String ^ id);
static PackageDependency GetFromId(winrt::hstring const& id);
public static PackageDependency GetFromId(string id);
function getFromId(id)
Public Shared Function GetFromId (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.