VCDPropertyElements.FindInterface Method

This method returns the according VCDPropertyInterface.
Syntax:
[C#]
public VCDPropertyInterface FindInterface( string interfaceId ); public VCDPropertyInterface FindInterface( Guid interfaceId );
Parameter Description
InterfacePath

Specifies the path to the VCDPropertyInterface. The string contains an element identifier string and an interface identifier string. The identifiers are separated by a colon: "element_id:interface_id".

Return Value:

If the VCDPropertyElements collection contains an VCDPropertyInterface with an interface identifier string equal to the passed interface identifier string, the FindInterface method returns this VCDPropertyInterface.

If the identifier string was not found, the function returns Nothing.

If the identifier string was not found, the function returns Nothing and null respectively.

Remarks:

The interface identifiers are GUIDs. A list of strings can be found in Standard Interface identifiers list.

The Basic Use of VCD Properties article in the Programmer's Guide shows how to use the interface identifiers.

See also: VCDPropertyElements, VCDPropertyElement, VCDPropertyInterface, Standard Element identifiers, Standard Interface identifiers, Basic Use of VCD Properties

<< VCDPropertyElements