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


IStyleGalleryClass2.NewObject Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Display)  

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