Delen via


BIND_OPTS2 Structure

Contains parameters used during a moniker-binding operation.

Namespace:  Microsoft.VisualStudio.OLE.Interop
Assembly:  Microsoft.VisualStudio.OLE.Interop (in Microsoft.VisualStudio.OLE.Interop.dll)

Syntax

'Declaration
Public Structure BIND_OPTS2
public struct BIND_OPTS2
public value class BIND_OPTS2
[<Sealed>]
type BIND_OPTS2 =  struct end
JScript supports the use of structures, but not the declaration of new ones.

The BIND_OPTS2 type exposes the following members.

Methods

  Name Description
Public method Equals Indicates whether this instance and a specified object are equal. (Inherited from ValueType.)
Public method GetHashCode Returns the hash code for this instance. (Inherited from ValueType.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns the fully qualified type name of this instance. (Inherited from ValueType.)

Top

Fields

  Name Description
Public field cbStruct Represents the size of the BIND_OPTS2 structure in bytes.
Public field dwClassContext Represents the class context that is to be used for instantiating the object.
Public field dwTickCountDeadline Represents the clock time in milliseconds.
Public field dwTrackFlags Represents a value that a moniker can use during link tracking.
Public field grfFlags Represents flags that control aspects of moniker binding operations.
Public field grfMode Represents flags that should be used when opening the file that contains the object identified by the moniker.
Public field locale Represents the LCID value indicating the client's preference for which locale to be used when binding an object.
Public field pServerInfo Allows clients to specify server information when calling IMoniker::BindToObject.

Top

Remarks

A BIND_OPTS2 structure is stored in a bind context. The same bind context is used by each component of a composite moniker during binding, allowing the same parameters to be passed to all components of a composite moniker.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.OLE.Interop Namespace