Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
When overridden in a derived class, retrieves the value for the specified key.
Namespace: Microsoft.Windows.Design.Model
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public MustOverride Function TryGetValue ( _
key As Object, _
<OutAttribute> ByRef value As ModelItem _
) As Boolean
public abstract bool TryGetValue(
Object key,
out ModelItem value
)
public:
virtual bool TryGetValue(
Object^ key,
[OutAttribute] ModelItem^% value
) abstract
abstract TryGetValue :
key:Object *
value:ModelItem byref -> bool
public abstract function TryGetValue(
key : Object,
value : ModelItem
) : boolean
Parameters
- key
Type: System.Object
An object representing the key to be tested.
- value
Type: Microsoft.Windows.Design.Model.ModelItem%
If a value is found for the key, this out parameter contains the ModelItem value that is retrieved.
Return Value
Type: System.Boolean
true if a value associated with key is found; otherwise, false.
Remarks
If a value is found to be associated with the specified key, it is returned in the value out parameter.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Model Namespace