Skip to content

Commit 1e92215

Browse files
Modified sample
1 parent 1416d6a commit 1e92215

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • Content-Controls/Get_Type_and_Name_of_ContentControls/.NET/Get_Type_and_Name_of_ContentControls

Content-Controls/Get_Type_and_Name_of_ContentControls/.NET/Get_Type_and_Name_of_ContentControls/Program.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ static void Main(string[] args)
2222
//Access block content control properties
2323
string title = blockContentControl.ContentControlProperties.Title;
2424
string tag = blockContentControl.ContentControlProperties.Tag;
25+
Console.WriteLine("BlockContentControl Title: " + title + ", Tag: " + tag);
2526
}
2627

2728
//Find all inline content controls
@@ -33,6 +34,7 @@ static void Main(string[] args)
3334
//Access inline content control properties
3435
string title = inlineContentControl.ContentControlProperties.Title;
3536
string tag = inlineContentControl.ContentControlProperties.Tag;
37+
Console.WriteLine("InlineContentControl Title: " + title + ", Tag: " + tag);
3638
}
3739

3840
//Save the modified document if needed

0 commit comments

Comments
 (0)