Partager via


Issue.AddImpactRelatedActivityReference Method

Applies To: Windows 8.1

Creates and adds an impact-related ActivityReference to the Issue.

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

Usage

'Usage
Dim instance As Issue
Dim attributeActivityId As String
Dim returnValue As ActivityReference

returnValue = instance.AddImpactRelatedActivityReference(attributeActivityId)

Syntax

'Declaration
Public Function AddImpactRelatedActivityReference ( _
    attributeActivityId As String _
) As ActivityReference
public ActivityReference AddImpactRelatedActivityReference (
    string attributeActivityId
)
public:
ActivityReference^ AddImpactRelatedActivityReference (
    String^ attributeActivityId
)
public ActivityReference AddImpactRelatedActivityReference (
    String attributeActivityId
)
public function AddImpactRelatedActivityReference (
    attributeActivityId : String
) : ActivityReference

Parameters

  • attributeActivityId
    The activity ID.

Return Value

Returns ActivityReference.

Remarks

The impact-related ActivityReference objects hold data from the Issue/Impact/RelatedActivities/ActivityReference elements.

The activity ID is the value of attribute ActivityID of the Issue/Impact/RelatedActivities/ActivityReference element.

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

Issue Class
Issue Members
Microsoft.Assessments.Runtime Namespace