Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Returns true if the specified annotation exists.
Namespace: Microsoft.VisualStudio.GraphModel
Assembly: Microsoft.VisualStudio.GraphModel (in Microsoft.VisualStudio.GraphModel.dll)
Syntax
'Declaration
Public Function HasValue ( _
property As GraphProperty _
) As Boolean
public bool HasValue(
GraphProperty property
)
public:
bool HasValue(
GraphProperty^ property
)
member HasValue :
property:GraphProperty -> bool
public function HasValue(
property : GraphProperty
) : boolean
Parameters
property
Type: Microsoft.VisualStudio.GraphModel.GraphPropertyThe annotation key.
Return Value
Type: Boolean
True if the annotation exists; false otherwise.
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | Thrown if key is null. |
.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.