YieldPackageSource Delegate
This element is introduced in Windows PowerShell 5.0.
Namespace: Microsoft.OneGet.Providers.Package
Assembly: Microsoft.OneGet (in Microsoft.OneGet.dll)
Usage
'Usage
Dim instance As New YieldPackageSource(AddressOf HandlerMethod)
Syntax
'Declaration
Public Delegate Function YieldPackageSource ( _
name As String, _
location As String, _
isTrusted As Boolean, _
isRegistered As Boolean, _
isValidated As Boolean _
) As Boolean
public delegate bool YieldPackageSource (
string name,
string location,
bool isTrusted,
bool isRegistered,
bool isValidated
)
public delegate bool YieldPackageSource (
String^ name,
String^ location,
bool isTrusted,
bool isRegistered,
bool isValidated
)
/** @delegate */
public delegate boolean YieldPackageSource (
String name,
String location,
boolean isTrusted,
boolean isRegistered,
boolean isValidated
)
Parameters
- name
- location
- isTrusted
- isRegistered
- isValidated
Return Value
Returns Boolean.