TryGetProperty(string,MarkupValue)

Method in MarkupAttributeMarker

Summary

Gets the property associated with the specified key, if present.

public bool TryGetProperty(string name, out MarkupValue result)

Parameters

Name
Description

string name

The name of the property to get.

When this method returns, contains the value associated with the specified key, if the key is found; otherwise, the default MarkupValue . This parameter is passed uninitialized.

Returns

true if the MarkupAttributeMarker contains an element with the specified key; otherwise, false .

Last updated

Yarn Spinnerยฎ and Secret Labยฎ are trade marks of Secret Lab Pty. Ltd., and are used by Yarn Spinner Pty. Ltd. under license.