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
Samarbejd med os på GitHub
Kilden til dette indhold kan findes på GitHub, hvor du også kan oprette og gennemse problemer og pullanmodninger. Du kan få flere oplysninger i vores vejledning til bidragydere.