다음을 통해 공유


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