다음을 통해 공유


Prop Constructor (Boolean, Boolean, Object, String)

Initializes a Prop object with a data value and localized value.

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

Syntax

'Declaration
Public Sub New ( _
    hasDataValue As Boolean, _
    hasLocalizedValue As Boolean, _
    dataValue As Object, _
    localizedValue As String _
)
'Usage
Dim hasDataValue As Boolean
Dim hasLocalizedValue As Boolean
Dim dataValue As Object
Dim localizedValue As String

Dim instance As New Prop(hasDataValue, _
    hasLocalizedValue, dataValue, localizedValue)
public Prop(
    bool hasDataValue,
    bool hasLocalizedValue,
    Object dataValue,
    string localizedValue
)

Parameters

  • hasDataValue
    Type: System.Boolean

    Indicates whether the object has an associated data value.

  • hasLocalizedValue
    Type: System.Boolean

    Indicates whether the object has a localized version of the data value.

  • dataValue
    Type: System.Object

    The data value, prior to localization.

See Also

Reference

Prop Class

Prop Members

Prop Overload

Microsoft.SharePoint.JSGrid Namespace