IRegistrationServices.RegisterTypeForComClients(Type, Guid) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Registers the specified type with COM using the specified GUID.
public:
void RegisterTypeForComClients(Type ^ type, Guid % g);
public void RegisterTypeForComClients (Type type, ref Guid g);
[System.Security.SecurityCritical]
public void RegisterTypeForComClients (Type type, ref Guid g);
abstract member RegisterTypeForComClients : Type * Guid -> unit
[<System.Security.SecurityCritical>]
abstract member RegisterTypeForComClients : Type * Guid -> unit
Public Sub RegisterTypeForComClients (type As Type, ByRef g As Guid)
Parameters
- type
- Type
The type to be registered for use from COM.
- g
- Guid
GUID used to register the specified type.
- Attributes
Remarks
This method is equivalent to calling CoRegisterClassObject
in COM.
Applies to
שתף איתנו פעולה ב- GitHub
ניתן למצוא את המקור לתוכן זה ב- GitHub, שם ניתן גם ליצור ולסקור בעיות ולמשוך בקשות. לקבלת מידע נוסף, עיין במדריך התורמים שלנו.