dotnet / dotnet/dotnet-api-docs

Sample code for PropertyDataCollection crashes

Open
#5,019 1 comment 0 reactions 0 assignees View on GitHub
area-System.Management Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

---
**Issue moved from MicrosoftDocs/feedback#3161**
- Please respond to @paulbaber.

---

_From @paulbaber on Monday, October 5, 2020 4:19:36 AM_

On this page, https://docs.microsoft.com/en-us/dotnet/api/system.management.propertydatacollection?view=dotnet-plat-ext-3.1, the sample code crashes on properties that don't have a description like Caption and Status.

Contributor guide

Open the contributing guide

Research direction

Open the linked PropertyDataCollection API documentation page and inspect its sample code. Reproduce the crash using properties such as Caption and Status, which lack descriptions. Done means the sample handles those properties without crashing and still displays the available property information.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.