Package.IsFramework | isFramework property
Indicates whether other packages can declare a dependency on this package.
Syntax
Property value
Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]
True if other packages can declare a dependency on this package; otherwise false.
Remarks
Windows Phone 8
This API is not implemented and will throw an exception if called.
Examples
Use the Package.current property to get the package for the current app. Use the Package.id property to get the package ID. This example gets package identity information by using members of the Package and PackageId classes.
var package = Windows.ApplicationModel.Package.current; var packageId = package.id; var version = packageId.version; var output = [ "Name: \"" + packageId.name + "\"", "Version: " + version.major + "." + version.minor + "." + version.build + "." + version.revision, "Architecture: " + packageId.architecture, "ResourceId: \"" + packageId.resourceId + "\"", "Publisher: \"" + packageId.publisher + "\"", "PublisherId: \"" + packageId.publisherId + "\"", "FullName: \"" + packageId.fullName + "\"", "FamilyName: \"" + packageId.familyName + "\"", "IsFramework: " + package.isFramework ];
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
See also
- Samples
- App package information sample
- Reference
- Package
Build date: 2/25/2013