Share via


Activity.AddReference Method

Applies To: Windows 8.1

Creates an IssueReference and adds it to the Activity.

Namespace: Microsoft.Assessments.Runtime
Assembly: Microsoft.Assessments.Core (in Microsoft.Assessments.Core.dll)

Usage

'Usage
Dim instance As Activity
Dim attributeIssueID As String
Dim returnValue As IssueReference

returnValue = instance.AddReference(attributeIssueID)

Syntax

'Declaration
Public Function AddReference ( _
    attributeIssueID As String _
) As IssueReference
public IssueReference AddReference (
    string attributeIssueID
)
public:
IssueReference^ AddReference (
    String^ attributeIssueID
)
public IssueReference AddReference (
    String attributeIssueID
)
public function AddReference (
    attributeIssueID : String
) : IssueReference

Parameters

  • attributeIssueID
    The issue ID. The value of attribute IssueID of the IssueReference.

Return Value

Returns IssueReference.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Windows 8.1

See Also

Reference

Activity Class
Activity Members
Microsoft.Assessments.Runtime Namespace