Compartilhar via


SocialCommentControl._GetProperty method

Obtém o valor da propriedade especificada a partir do atual SocialComment.

Namespace:  Microsoft.SharePoint.Portal.WebControls
Assembly:  Microsoft.SharePoint.Portal (in Microsoft.SharePoint.Portal.dll)

Syntax

'Declaração
Protected Shared Function _GetProperty ( _
    item As SocialComment, _
    prop As SocialCommentControl.SocialCommentProperty _
) As String
'Uso
Dim item As SocialComment
Dim prop As SocialCommentControl.SocialCommentProperty
Dim returnValue As String

returnValue = SocialCommentControl._GetProperty(item, _
    prop)
protected static string _GetProperty(
    SocialComment item,
    SocialCommentControl.SocialCommentProperty prop
)

Parâmetros

Valor retornado

Type: System.String
Uma seqüência de caracteres que representa o valor da propriedade especificada.

Comentários

Este método lança um ArgumentNullException se o especificado SocialComment é null .

Ver também

Referência

SocialCommentControl class

SocialCommentControl members

Microsoft.SharePoint.Portal.WebControls namespace