Localization::GetComments Method (Object^)
.NET Framework (current version)
Gets the value of the CommentsProperty attached property from a specified element.
Assembly: PresentationFramework (in PresentationFramework.dll)
public: [AttachedPropertyBrowsableForTypeAttribute((Object^::typeid))] static String^ GetComments( Object^ element )
Parameters
- element
-
Type:
System::Object^
A Object that represents the element whose attached property you want to retrieve.
Localization comments are free-form text that the application developer includes.
The following code example shows how to retrieve the localization comments defined for a text block.
.NET Framework
Available since 3.0
Available since 3.0
Show: