AddTypeCommand.LiteralPath Property
Gets and sets the value of the LiteralPath parameter of the Add-Type cmdlet.
Namespace: Microsoft.PowerShell.Commands
Assembly: Microsoft.PowerShell.Commands.Utility (in Microsoft.PowerShell.Commands.Utility.dll)
Usage
'Usage
Dim instance As AddTypeCommand
Dim value As String()
value = instance.LiteralPath
instance.LiteralPath = value
Syntax
'Declaration
<ParameterAttribute(Mandatory:=True, ParameterSetName:="FromLiteralPath")> _
<AliasAttribute(System.String[])> _
Public Property LiteralPath As String()
[ParameterAttribute(Mandatory=true, ParameterSetName="FromLiteralPath")]
[AliasAttribute(System.String[])]
public string[] LiteralPath { get; set; }
[ParameterAttribute(Mandatory=true, ParameterSetName=L"FromLiteralPath")]
[AliasAttribute(System.String[])]
public:
property array<String^>^ LiteralPath {
array<String^>^ get ();
void set (array<String^>^ value);
}
/** @property */
public String[] get_LiteralPath ()
/** @property */
public void set_LiteralPath (String[] value)
public function get LiteralPath () : String[]
public function set LiteralPath (value : String[])
Property Value
An array of String objects.
Remarks
This topic is included in this SDK for completeness only. For more information about this cmdlet, see Add-Type in the Microsoft TechNet Library.
For Help at the command line, type:
get-help add-type
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
See Also
Reference
AddTypeCommand Class
AddTypeCommand Members
Microsoft.PowerShell.Commands Namespace