Feature Constructor (String, String)

This element is introduced in Windows PowerShell 5.0.

Namespace: Microsoft.OneGet.MetaProvider.PowerShell
Assembly: Microsoft.OneGet.MetaProvider.PowerShell (in Microsoft.OneGet.MetaProvider.PowerShell.dll)

Usage

'Usage
Dim name As String
Dim value As String

Dim instance As New Feature(name, value)

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    value As String _
)
public Feature (
    string name,
    string value
)
public:
Feature (
    String^ name, 
    String^ value
)
public Feature (
    String name, 
    String value
)
public function Feature (
    name : String, 
    value : String
)

Parameters

  • name
  • value

Platforms

Target Platforms

See Also

Reference

Feature Class
Feature Members
Microsoft.OneGet.MetaProvider.PowerShell Namespace