OwnsKey Method
[This content is no longer valid. For the latest information on "M", "Quadrant", SQL Server Modeling Services, and the Repository, see the Model Citizen blog.]
When overridden in a derived class, determines whether the specified key exists in the store.
Namespace: System.Dataflow
Assembly: System.Dataflow (in System.Dataflow.dll)
Syntax
'Declaration
PublicOverridableFunctionOwnsKey ( _
keyAsObject _
) AsBoolean
'Usage
DiminstanceAsGraphStoreDimkeyAsObjectDimreturnValueAsBooleanreturnValue = instance.OwnsKey(key)
publicvirtualboolOwnsKey(
Objectkey
)
public:
virtualboolOwnsKey(
Object^ key
)
publicfunctionOwnsKey(
key : Object
) : boolean
Parameters
- key
Type: System. . :: . .Object
The key.
Return Value
Type: System. . :: . .Boolean
true if the specified key exists; otherwise, false. The default is true.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see https://msdn.microsoft.com/en-us/library/8skskf63(v=vs.85).