Localization.GetComments(Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the value of the CommentsProperty attached property from a specified element.
public:
static System::String ^ GetComments(System::Object ^ element);
[System.Windows.AttachedPropertyBrowsableForType(typeof(System.Object))]
public static string GetComments (object element);
[<System.Windows.AttachedPropertyBrowsableForType(typeof(System.Object))>]
static member GetComments : obj -> string
Public Shared Function GetComments (element As Object) As String
Parameters
Returns
A String value that represents the localization comment.
- Attributes
Examples
The following code example shows how to retrieve the localization comments defined for a text block.
Remarks
Localization comments are free-form text that the application developer includes.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.