UsesLibraryAttribute Constructors
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.
Overloads
| Name | Description |
|---|---|
| UsesLibraryAttribute() |
Initializes a shared-library dependency declaration. |
| UsesLibraryAttribute(String) |
Initializes a dependency on the named shared library. |
| UsesLibraryAttribute(String, Boolean) |
Initializes a named library dependency with an explicit required setting. |
UsesLibraryAttribute()
Initializes a shared-library dependency declaration.
public UsesLibraryAttribute();
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
UsesLibraryAttribute(String)
Initializes a dependency on the named shared library.
public UsesLibraryAttribute(string name);
new Android.App.UsesLibraryAttribute : string -> Android.App.UsesLibraryAttribute
Parameters
- name
- String
The name of the shared library to record.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.
Applies to
UsesLibraryAttribute(String, Boolean)
Initializes a named library dependency with an explicit required setting.
public UsesLibraryAttribute(string name, bool required);
new Android.App.UsesLibraryAttribute : string * bool -> Android.App.UsesLibraryAttribute
Parameters
- name
- String
The name of the shared library to record.
- required
- Boolean
Whether the library is recorded as required rather than optional.
Remarks
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.