ReferenceCollection.AddItem Method

Applies To: Windows 8.1

Creates an IssueReferenceand adds it to the ReferenceCollection.

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

Usage

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

returnValue = instance.AddItem(attributeIssueID)

Syntax

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

Parameters

  • attributeIssueID
    The issue ID. This parameter is optional.

Return Value

Returns IssueReference.

Remarks

The issue ID is the value of attribute IssueID of element 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

ReferenceCollection Class
ReferenceCollection Members
Microsoft.Assessments.Runtime Namespace