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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.