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
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.