This document is archived and information here might be outdated.  Recommended version.


IStyleGalleryClass2.NewObject Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Display > ESRI.ArcGIS.Display > Interfaces > IS > IStyleGalleryClass2 Interface > IStyleGalleryClass2.NewObject Property
ArcGIS Developer Help

IStyleGalleryClass2.NewObject Property

Creates a new object of the specified type.

[Visual Basic .NET]
Public Function get_NewObject ( _
    ByVal newType As String _
) As Object
[C#]
public object get_NewObject (
    string newType
);
[C++]
HRESULT get_NewObject(
  BSTR newType,
  IUnknown Pointer* NewObject
);
[C++]
Parameters
newType [in]

newType is a parameter of type BSTR NewObject [out, retval]
NewObject is a parameter of type IUnknown*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

See Also

IStyleGalleryClass2 Interface