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
item
Type: Microsoft.Office.Server.SocialData.SocialCommentO SocialComment é cujo valor de propriedade a ser retornado.
prop
Type: Microsoft.SharePoint.Portal.WebControls.SocialCommentControl.SocialCommentPropertyO valor da propriedade para retornar a partir do atual SocialComment.
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 .