SPCmdlet.SetProp method

Internal use only. Do not use.

Namespace:  Microsoft.SharePoint.PowerShell
Assembly:  Microsoft.SharePoint.PowerShell (in Microsoft.SharePoint.PowerShell.dll)

Syntax

'Declaration
Protected Sub SetProp ( _
    fieldName As String, _
    value As Object _
)
'Usage
Dim fieldName As String
Dim value As Object

Me.SetProp(fieldName, value)
protected void SetProp(
    string fieldName,
    Object value
)

Parameters

  • fieldName
    Type: System.String

    A string that represents the field name.

  • value
    Type: System.Object

    The value to be assigned to the field name string.

Remarks

Assigns the value of a specified object to the field name and adds them to the Fields property.

See also

Reference

SPCmdlet class

SPCmdlet members

Microsoft.SharePoint.PowerShell namespace